problem / in zonename as RFC2317 with bind9

Barry Margolin barmar at alum.mit.edu
Tue Jun 13 11:36:59 UTC 2006


In article <e6m7el$1r30$1 at sf1.isc.org>, Thomas Bornert <tb at tbits.net> 
wrote:

> hi list,
> 
> the second try, sorry for the typos :-(

More important was including the zone file.

> 
> i would establish a reverse delegation as descriped in
> RFC2317. i've the following zone definition
> 
> zone "240/28.111.111.111.in-addr.arpa" IN {
>         type master;
>         file "240.111.111.111.in-addr.arpa";
>         allow-transfer { dnsservers; };
> };
> 
> with bind 9.2 it was running with 9.3 i got the following
> error:
> 
> zone 240/28.111.111.111.in-addr.arpa/IN: loading master file
> 240.111.111.111.in-addr.arpa: bad owner name (check-names)
> 
> with the option
> 
> check-names ignore;
> 
> i would working.
> 
> also if i replace the / with - it works
> as here
> 
> zone "240-28.111.111.111.in-addr.arpa" IN {
>         type master;
>         file "240.111.111.111.in-addr.arpa";
>         allow-transfer { dnsservers; };
> };
> 
> the content of the zone file is:
> <----------------------------- snip ------------------------->
> $TTL    86400
> @               SOA     ns1.mydomain.net. hostmaster.mydomain.net. (
>                         2006060201 ; serial
>                         43200      ; refresh (12 hours)
>                         3600       ; retry (1 hours)
>                         3600000    ; expire (5 weeks 6 days 16 hours)
>                         86400      ; minimum (1 day)
>                         )
>                 NS      ns1.mydomain.net.
>                 NS      ns2.mydomain.net.
>                 NS      ns1.otherdomain.de.
>                 NS      ns2.otherdomain.de.
>                 PTR     net.mydomain.de.
>                 A       255.255.255.240

This A record is the reason.  This makes the zone name a hostname, and / 
is not a valid character in hostnames.

Get rid of the unnecessary A record and your problem should be solved.

> 241             PTR     gate.mydomain.de.
> <----------------------------- snip ------------------------->
> 
> has everyone an idea what is wrong here ?
> 
> Thanks
> 
> Thomas

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***



More information about the bind-users mailing list