Unable to resolve host by name
Nils Kassube
kassube at gmx.net
Wed Nov 26 16:03:30 UTC 2008
NoOp wrote:
> How did I miss that? You are correct and I gave see where I caused the
>
> problem by telling him:
> > 127.0.0.1 localhost media
> > 127.0.1.1 media
> >
> > 192.168.0.109 media
>
> When that should have been:
>
> On mystic-laptop:
>
> 127.0.0.1 localhost mystic-laptop
> 127.0.1.1 mystic-laptop
>
> 192.168.0.109 media
I think the line "127.0.0.1 localhost mystic-laptop" is not the usual
version because the hosts file from the Xubuntu 8.10 LiveCD has these
entries:
127.0.0.1 localhost
127.0.1.1 ubuntu
But probably it would also work with your version.
> As for the <name>.local I found that intrepid's Network Manager seems
> to like to add '.local' to things (even pings) regardless of what is in
> the hosts file.
No, I just tried that with Xubuntu 8.10 and it doesn't do that. My LAN has
the domain .lan and if I use "ping router" it resolves "router.lan". Maybe
it adds .local if you use interfaces with zeroconf addresses. But it
should never add .local if the host can be resolved already from the
hosts file or from DNS. Otherwise you could never reach any site outside
the .local domain.
Nils
More information about the ubuntu-users
mailing list