Interpreting syslog message: not at top of zone

Rich Parkin RParkin at ldmi.com
Wed Apr 14 18:32:39 UTC 2004


Thank you!  Someone else already pointed out my gaffe... the origin is in =
0.0.127.in-addr.arpa, not localhost.  I'd copied the file over from =
another server and didn't realize it was wrong there, too.

Richard Parkin
System Administrator
CCNA
Data Center Operations
LDMI Telecommunications

>>> <phn at icke-reklam.ipsec.nu> 4/14/2004 2:20:10 PM >>>
Rich Parkin <RParkin at ldmi.com> wrote:
> Hello all!

> I'm getting a non-fatal error message whenever I start BIND.  It's
> obviously a configuration error on my part, but I'm embarrassed to say I
> can't figure out what I'm doing wrong.

> The error message is:

> # Apr 14 15:52:00 unknown named[439]: dns_master_load: 0.0.127.db:14:
> localhost: not at top of zone
> Apr 14 15:52:00 unknown named[439]: zone 0.0.127.in-addr.arpa/IN:
> loading master file 0.0.127.db: not at top of zone

> The snippet from my named.conf is -

> zone "0.0.127.in-addr.arpa" IN {
>         type master;
>         file "0.0.127.db";
>         notify no;
>         allow-update { none; };
> };

> And here is the content of the zone -

> $TTL 86400 ; default TTL (24 hours)
> $ORIGIN localhost.
> @ IN SOA localhost. root.localhost. (
>                 2004032901
>                 10800
>                 3600
>                 604800
>                 86400 )

>         IN NS localhost.

> 1       IN      PTR     localhost.

> localhost resolves to 127.0.0.1 but I can't resolve 127.0.0.1 back to
> localhost and I get a SERVFAIL message when I try it.  Can anyone tell
> me what I'm doing wrong and what "not at top of zone" actually means?

> Thanks in advance,

Remove the "$ORIGIN localhost.", it will position the file at
wrong origin.



--=20
Peter H=E5kanson        =20
        IPSec  Sverige      ( At Gothenburg Riverside )
           Sorry about my e-mail address, but i'm trying to keep spam out,
	   remove "icke-reklam" if you feel for mailing me. Thanx.




More information about the bind-users mailing list