[lug] Hostname, Knoppix, where does it come from?
blug-mail at duboulder.com
Wed Jun 28 23:41:58 MDT 2006
Bob Collins wrote:
> I was having a problem with one of my computers, the / file system
> counldn't be mounted because it was unreadable. I got out my trusty
> Knoppix disk to see if I could repair the file system. Knoppix couldn't
> mount the file system either.
> I decided to install a fresh version of SuSE 10.0. Everything went fine
> except that this is what I get when I ping from another computer on my
> local network.
> bob at matt:~> ping linux.local
> PING linux.local (192.168.0.67) 56(84) bytes of data.
> 64 bytes from Knoppix (192.168.0.67): icmp_seq=1 ttl=64 time=0.139 ms
> 64 bytes from Knoppix (192.168.0.67): icmp_seq=5 ttl=64 time=0.167 ms
> --- linux.local ping statistics ---
> 5 packets transmitted, 5 received, 0% packet loss, time 4003ms
> rtt min/avg/max/mdev = 0.139/0.161/0.171/0.019 ms
> bob at matt:~> ping knoppix
> PING knoppix.gateway.2wire.net (192.168.0.67) 56(84) bytes of data.
> 64 bytes from Knoppix (192.168.0.67): icmp_seq=1 ttl=64 time=0.131 ms
> 64 bytes from Knoppix (192.168.0.67): icmp_seq=2 ttl=64 time=0.121 ms
> --- knoppix.gateway.2wire.net ping statistics ---
> 2 packets transmitted, 2 received, 0% packet loss, time 999ms
> rtt min/avg/max/mdev = 0.121/0.126/0.131/0.005 ms
As has been mentioned, the machine matt is resolving the name knoppix.gateway.2wire.net
to 192.168.0.67, not linux.local. To see the DNS resolution process you can use:
dig +trace knoppix.gateway.2wire.net
dig +trace linux.local
to see the referrals for the various domain parts.
2wire.net and 2wire.com are real live public domains and their DNS servers answer:
# host -a gateway.2wire.net
Host gateway.2wire.net not found: 3(NXDOMAIN)
Received 95 bytes from 127.0.0.1#53 in 259 ms
The name resolution for gateway.2wire.net looks to be local to your premises.
More information about the LUG