What's wrong with this zone file?

Joseph S D Yao jsdy at cospo.osis.gov
Wed Jun 16 21:06:19 UTC 1999


> started named, it consistently complained about the same 2 records.  
> 
> I inspected the file over and over and in several different editors, trying
> to determine how these 2 records were different from all the others.  They
> looked good to me.  Finally, I downloaded the utility h2n (used in the
> book) and had it automatically create the files.  ...

You didn't mention that you edited the files for "prettiness".

>						..  Named still issues the
> same complaints!  The records complained about are the same, though now on
> different lines in the file.
> 
> This is the complaint I get:
> 
> corona named[1011]: db.snydernet:25: IP Address error (192.168.0.08)
> corona named[1011]: db.snydernet:27: IP Address error (192.168.0.09)
> corona named[1011]: master zone "snydernet.lan" (IN) rejected due to errors (serial 1999061600)
> 
> And this is db.snydernet, the zone file containing the "bad" records:
> 
...
> uranus               IN  A     192.168.0.08
> uranus               IN  MX    10 uranus.snydernet.lan.
> neptune              IN  A     192.168.0.09
> neptune              IN  MX    10 neptune.snydernet.lan.

Numbers starting with '0' seem to be considered octal.  There is no "8"
or "9" in octal.

The numbers "<...>.10" and above aren't affected.  The numbers 01-07
are the same in octal and decimal.

--
Joe Yao				jsdy at cospo.osis.gov - Joseph S. D. Yao
COSPO/OSIS Computer Support					EMT-B
-----------------------------------------------------------------------
      This message is not an official statement of COSPO policies.



More information about the bind-users mailing list