What's wrong with this zone file?

Sam Wilson Sam.Wilson at ed.ac.uk
Fri Jun 18 11:28:25 UTC 1999


In article <199906170356.NAA12433 at bsdi.dv.isc.org>, Mark_Andrews at isc.org wrote:

>> 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.

In addition the "addresses" stored in the in-addr.arpa zones are stored as
text rather than numbers so, octal conversions apart
"07.0.168.192.in-addr.arpa" won't be found when someone looks up
"7.0.168.192.in-addr.arpa", the correct translation for 192.168.0.7.

-- 
Sam Wilson
Network Services Division, Computing Services
The University of Edinburgh
Edinburgh, Scotland, UK



More information about the bind-users mailing list