[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Computer fails to recognise self - details at 11

On Wed, 2002-12-18 at 18:40, Michael Heironimus wrote:
> On Wed, Dec 18, 2002 at 02:35:35PM -0500, Mark L. Kahnt wrote:
> > That was the first reboot in five weeks, and when the system came back,
> > it couldn't find "localhost". It could find hosehead.dyndns.org and its
> > various morphs (hosehead.dyndns.ws and mlkahnt.dyndns.org,) and it had
> > no problem with, (eth1) and (eth0),
> > either. /etc/hosts was unchanged, but /etc/resolv.conf had been reduced
> > to just two entries - my ISPs nameservers, each preceded by a blank
> > line, leaving me to believe that some program is doing the rewrite on
> > bringing up the network link (I suspect the culprit is "usepeerdns" in
> > /etc/ppp/peers/dsl-provider, although that has been there for over seven
> > months.)
> This may be a silly thing to ask, but do you get the right answers when
> you nslookup localhost and And if not, do you have them
> defined in your zone files (you should)?
> -- 
> Michael Heironimus

Excellent to ask - as I warned earlier, there was room for things like
this to happen with my brain getting muddied by all of the various
symptoms I'm fighting. That said, I get:

Address:  name = localhost.

> localhost
Name:   localhost.hosehead.dyndns.org

The localhost.hosehead.dyndns.org wasn't a problem before the big
restart, and I haven't found anything in the documentation to cause that
to *not* happen. /etc/bind/db.local reads:

; BIND data file for local loopback interface
$TTL    604800
@       IN      SOA     localhost. root.localhost. (
                        604800 )
@       IN      NS      localhost.
@       IN      A
Administrator.localhost.        IN      RP     
kahnt.hosehead.dyndns.org. Administrator
Hosehead.localhost.     IN      HINFO   i686 Linux
Mail.localhost. IN      MX      1 hosehead.dyndns.org
and /etc/bind/db.127 reads:

; BIND reverse data file for local loopback interface
$TTL    604800
@       IN      SOA     hosehead.dyndns.org. root.hosehead.dyndns.org. (
                              1         ; Serial
                         604800         ; Refresh
                          86400         ; Retry
                        2419200         ; Expire
                         604800 )       ; Negative Cache TTL
@       IN      NS      dns.hosehead.dyndns.org.
1.0.0   IN      PTR     localhost.
and for the heck of it, this is /etc/hosts:       localhost hosehead     hosehead.dyndns.org hosehead    adan.kingston.net    border1.kingston.net
# The following lines are desirable for IPv6 capable hosts
# (added automatically by netbase upgrade)
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
::FFFF:        localhost
::FFFF:      hosehead.dyndns.org     hosehead

Hopefully I haven't buggered anything in any of these, but most have
been through at least a couple of system restarts (particularly all of
the bind stuff) and so shouldn't be functioning differently (I hope).
ML Kahnt New Markets Consulting
Tel: (613) 531-8684 / (613) 539-0935
Email: kahnt@hosehead.dyndns.org

Attachment: signature.asc
Description: This is a digitally signed message part

Reply to: