Most specific match on PTR records

Doug Barton dougb at dougbarton.us
Thu Feb 21 20:47:02 UTC 2013


On 02/21/2013 10:20 AM, Nikita Koshikov wrote:
> Hello list,
>
>
> I'm trying to "cut" /24 network from the scope of /8 network, here is
> example:
>
>          zone "11.2.10.in-addr.arpa" {
>                  type forward;
>                  forwarders { 192.168.1.23; 192.168.1.24; };
>          };
>
>          zone "10.in-addr.arpa" {
>                  type master;
>                  file "master/int/10.in-addr.arpa";
>          };
>
> 10.in-addr.arpa is just a file that returns NXDOMAIN for any 10.0.0.0/8
> <http://10.0.0.0/8> ip address. But I need to forward requests for
> 10.2.11.0/24 <http://10.2.11.0/24> net to other dns servers and the
> above config not working.

Can you slave the 11.2.10.in-addr.arpa zone instead of forwarding? That 
would be easier, and avoid the pitfalls already described by others.

Doug




More information about the bind-users mailing list