What's wrong with this zone file?

Michael Voight mvoight at cisco.com
Fri Aug 6 19:18:12 UTC 1999


Thanks Bill,

I knew you couldn't have leading 0's but I didn't know it was only for 8
and 9. 

Michael

bmanning at ISI.EDU wrote:
> 
> >
> > Try using 192.168.0.9  instead of 192.168.0.09
> >
> > On 16 Jun 1999 11:26:23 -0700, Michael Voight <mvoight at cisco.com>
> > wrote:
> >
> > >Don't use 0 in front of the number. It is .2, not .02.
> > >
> > >Michael
> > >
> > >Steve Snyder wrote:
> > >>
> > >> Following the directions in the 3rd edition of "DNS and BIND" I
> > >> hand-created a zone database from the data in my /etc/hosts file.  When I
> > >> started named, it consistently complained about the same 2 records.
> > >>
> > >> earth                IN  A     192.168.0.04
> > >> mercury              IN  A     192.168.0.02
> > >> saturn               IN  A     192.168.0.07
> > >> uranus               IN  A     192.168.0.08
> > >> neptune              IN  A     192.168.0.09
> > >>
> > >> Named always objects to the "uranus" and "neptune" IN records.  If I
> > >> comment-out these 2 records, named will start up without error.
> > >>
> > >> Can anyone tell me why these 2 specific records are considered
> > >> unacceptable?  Thank you.
> > >>
> > >> ***** Steve Snyder *****
> 
>         These other good people have told you what but not why.
>         And you did ask why.  Ahem...
> 
>         "...leading zeros cause the octet to be interpreted as
>          an octal value, not decimal."
> 
>         It should be clear that octal values of 8 and 9 are meaningless.
> 
> --bill


More information about the bind-users mailing list