[lug] Hostname, Knoppix, where does it come from?

Hugh Brown hugh at math.byu.edu
Wed Jun 28 18:26:09 MDT 2006


On Wed, 2006-06-28 at 18:09 -0600, Bob Collins wrote:
> David L. Anselmi wrote:
> > Bob Collins wrote:
> > [...]
> >> bob at matt:~> ping knoppix
> >>
> >> PING knoppix.gateway.2wire.net (192.168.0.67) 56(84) bytes of data.
> > [...]
> >> I have searched and destroyed every instance of Knoppix on the 
> >> machine. I have also reloaded linux from scratch 3 times. It doesn't 
> >> seem to effect the operation and I can ssh to and from it.
> >
> > If you don't know what's broke, reinstalling probably won't fix it.
> I know, but SuSE gets information from an info file and I thought I may 
> have let something get buy me.
> >
> > What are you using for name resolution on the machine doing the ping?  
> > Try:
> >
> > host -v knoppix
> >
> > and it will tell you what DNS it's asking.  You can also check the 
> > hosts line in /etc/nsswitch and /etc/hosts.  All on the machine 
> > sending the ping.  The machine you're pinging isn't involved unless 
> > you're using some zeroconf magic.
> >
> >
> Qwest is the DSL line and peakpeak.com is my internet provider.
> Here is what I get:
> bob at matt:~> host -v Knoppix
> Trying "Knoppix.gateway.2wire.net"
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55972
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
> 
> ;; QUESTION SECTION:
> ;Knoppix.gateway.2wire.net.     IN      A
> 
> ;; ANSWER SECTION:
> Knoppix.gateway.2wire.net. 0    IN      A       192.168.0.67
> 
> ;; AUTHORITY SECTION:
> Knoppix.gateway.2wire.net. 41728 IN     NS      
> homeportal.gateway.2wire.net.
> 
> ;; ADDITIONAL SECTION:
> homeportal.gateway.2wire.net. 41728 IN  A       192.168.0.1
> 
> Received 150 bytes from 192.168.0.1#53 in 13 ms
> Trying "Knoppix.gateway.2wire.net"
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 750
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
> 
> ;; QUESTION SECTION:
> ;Knoppix.gateway.2wire.net.     IN      AAAA
> 
> ;; ANSWER SECTION:
> Knoppix.gateway.2wire.net. 0    IN      A       192.168.0.67
> 
> ;; AUTHORITY SECTION:
> Knoppix.gateway.2wire.net. 41728 IN     NS      
> homeportal.gateway.2wire.net.
> 
> ;; ADDITIONAL SECTION:
> homeportal.gateway.2wire.net. 41728 IN  A       192.168.0.1
> 
> Received 150 bytes from 192.168.0.1#53 in 15 ms
> Trying "Knoppix.gateway.2wire.net"
> Host Knoppix.gateway.2wire.net not found: 4(NOTIMP)
> Received 43 bytes from 192.168.0.1#53 in 1 ms
> bob at matt:~>                                                       
> 
> Dave, thanks for your help.
> 



This smacks of a dhcp/dns server with auto-update turned on.  Knoppix
asked for a dhcp assignment, got one, then told the DNS server, "Hi I'm
Knoppix, remember me" and the DNS server obliged.  Apparently, it was a
memorable exchange.  That'd be my guess anyway.

Hugh




More information about the LUG mailing list