[geeks] DNS issue, localhost not resolving properly

Charles Shannon Hendrix shannon at widomaker.com
Mon Dec 11 10:56:46 CST 2006


I have a problem with localhost.<my domain> not resolving in BIND 9.

I've been running BIND 8 for years, and recently upgraded my DNS server
and BIND 9 came with the new OS. I didn't change any of my namedb files,
I just moved from ndc to rndc as required.

Everything works, except that sendmail sometimes panics, unable to find
localhost.goid.lan (goid.lan is my local private LAN).

For example:

Dec 11 11:29:18 escape sendmail[25018]: kBBGF0sD025018: kBBGF0sE025018:
return to sender: Host unknown (Name server: localhost.goid.lan.: host
not found)

Does anyone know what might have changed in 9 versus 8 that would break
localhost name resolution?

Or could this be a sendmail bug?

My localhost zone files are:

localhost

;       $NetBSD: localhost,v 1.2 2000/05/19 13:07:37 sommerfeld Exp $

$TTL    3600
@       IN      SOA     netbsd.org. hostmaster.netbsd.org.  (
                                1999012100      ; Serial
                                3600            ; Refresh
                                300             ; Retry
                                3600000         ; Expire
                                3600 )          ; Minimum
                IN      NS      localhost.
localhost.      IN      A       127.0.0.1
                IN      AAAA    ::1

localhost.rev.zone

;       $NetBSD: 127,v 1.2 1999/01/22 01:44:22 mycroft Exp $
$TTL 3600
@       IN      SOA     goid.lan. hostmaster.goid.lan.  (
                                2004032300      ; Serial
                                3600            ; Refresh
                                300             ; Retry
                                3600000         ; Expire
                                3600 )          ; Minimum
        IN      NS      localhost.
        IN      NS      goid.lan.

1       IN      PTR     localhost.

localhost.zone

$TTL 3600
@       IN      SOA     escape.goid.lan. hostmaster.goid.lan. (
                        2004032300
                        8H
                        2H
                        1W
                        1D )
                IN NS   localhost.
localhost.      IN      A       127.0.0.1




-- 
shannon "AT" widomaker.com -- ["I want this Perl software checked for
viruses.  Use Norton Antivirus." -- Charlie Kirkpatrick]



More information about the geeks mailing list