What's wrong with this zone file?
Mark_Andrews at isc.org
Mark_Andrews at isc.org
Thu Jun 17 03:56:02 UTC 1999
> 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.
>
> 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. 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)
If you specify a leading zero the number is interperated as
an octal number (base 8).
08 and 09 are not valid octal numbers.
h2n just copies the original address. Garbage In - Garbage Out.
Mark
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: marka at isc.org
More information about the bind-users
mailing list