help about reverse please

Kevin Darcy kcd at daimlerchrysler.com
Tue Sep 12 18:50:45 UTC 2000


Your provider also needs to add CNAMEs to their /24 reverse zone, e.g.
111.111.111.in-addr.arpa, for each address in the range, pointing at the
corresponding PTRs in your zone.

E.g. 2.111.111.111.in-addr.arpa in their zone needs be a CNAME pointing to the
2.0/27.111.111.111.in-addr.arpa PTR in your zone.

Note that the $GENERATE master-file directive of later BIND versions was
created to facilitate exactly this kind of thing.


- Kevin
Heimdall wrote:

> I have asked my provider to delegate a subnet/27 of a class C (111.111.111.1
> to 111.111.111.29) where my servers are.
> I have created a zone on my primary dns who will do the reverse.
> Is it right ? I'm not sure at all if a reverse of a subnet/27 is declared
> like that. Is there other thing to do ?
>
> zone "0/27.111.111.111.in-addr.arpa" {
>         type master;
>         file "/var/named/111.111.111.111.rev";
>         };
>
> 111.111.111.111.rev contains :
> @                       IN      SOA     my.primary.dns. toto.toto.net. (
>                         2000091211
>                         3600 ; refresh
>                         900 ; retry
>                         1209600 ; expire
>                         86400 ; default_ttl
>                         )
>
>                                 IN      NS      my.primary.dns.
>                                 IN      NS      my.secondary.dns.
> 1                               IN      PTR     first.toto.net.
> 2                               IN      PTR     second.toto.net.
> ...
> 29                            IN     PTR        29th.toto.net
>
> thanks for help.






More information about the bind-users mailing list