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:
> >  localhost media
> >  media
> >
> > media
> When that should have been:
> On mystic-laptop:
>  localhost mystic-laptop
>  mystic-laptop
> media

I think the line "  localhost mystic-laptop" is not the usual 
version because the hosts file from the Xubuntu 8.10 LiveCD has these 
entries:  localhost  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.


More information about the ubuntu-users mailing list