Unable to resolve host by name
Bob Cortez
rjcortez at gmail.com
Thu Nov 27 05:39:18 UTC 2008
On Wed, Nov 26, 2008 at 7:49 AM, NoOp <glgxg at sbcglobal.net> wrote:
> On 11/26/2008 08:03 AM, Nils Kassube wrote:
> > 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.
>
> Actually it's quite usual (launchpad is full of info).
>
> >
> >> 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
> >
>
> Well, I seem to be batting zero today :-)
>
> I see that if I ping a known local machine that is not connected:
>
> > ~$ ping gg2xp
> > PING gg2xp (192.168.2.100) 56(84) bytes of data.
> > From gg-laptop.local (192.168.2.102) icmp_seq=1 Destination Host
> Unreachable
> > From gg-laptop.local (192.168.2.102) icmp_seq=2 Destination Host
> Unreachable
> >
>
> I get the '.local'. However if I ping a connected machine, the '.local'
> doesn't appear. Sigh... I think I'm going to go get some more coffee.
> Thanks Nils :-)
>
Thanks for continuing the discussion. It appears I have some larger issues
with my network than just the two Intrepid boxes. I get different results
from each box, and different OS. I have three dual boot boxes 2 with XP and
my laptop with Vista. It's really a cobbled up mess actually, with some
machines appearing outside of any windows network, and three different
windows network names showing up. I think what I want to do is go through
each box and eliminate all current network references, and create a single
network with each box, in every OS. I don't know exactly how to go about
doing that, so any suggestions or references would be appreciated.
For my ubuntu friends in the US, may you all have a bountiful and wonderfulf
Thanksgiving Day. For all of you list members around the world, I'm
thankful for your generosity of sharing your knowledge, your freely offered
assistance and your passionate support of Ubuntu and Open Source software.
I'll be back on Friday.
As always, thanks again.
Bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20081126/abb08593/attachment.html>
More information about the ubuntu-users
mailing list