You need to ensure if the resolver that is doing the forwarding also loads the blank 10/8 that you have the smaller /24 delegated in the 10/8. The reason being if it loads the /8 with no /24 delegation it will ignore the forward because it believes the /24 doesn't exist. On Feb 21, 2013 1:21 PM, "Nikita Koshikov" <koshi...@gmail.com> 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/8ip > address. But I need to forward requests for > 10.2.11.0/24 net to other dns servers and the above config not working. > I got empty responses for 10.2.11.0/24 net. > > This is right: (192.168.1.8 - server with bind) > > $ host -t ptr 10.1.1.1 192.168.1.8 > Using domain server: > Name: 192.168.1.8 > Address: 192.168.1.8#53 > Aliases: > Host 1.1.1.10.in-addr.arpa. not found: 3(NXDOMAIN) > > This is wrong: > $ host -t ptr 10.2.11.10 192.168.1.8 > Using domain server: > Name: 192.168.1.8 > Address: 192.168.1.8#53 > Aliases: > Host 10.11.2.10.in-addr.arpa. not found: 3(NXDOMAIN) > > This is expected answer from the forwarded server - 192.168.1.23 > $ host -t ptr 10.2.11.10 192.168.1.23 > Using domain server: > Name: 192.168.1.23 > Address: 192.168.1.23#53 > Aliases: > 10.11.2.10.in-addr.arpa domain name pointer hawk-agent.local.intranet. > > Can someone help with this ? > > > _______________________________________________ > Please visit https://lists.isc.org/mailman/listinfo/bind-users to > unsubscribe from this list > > bind-users mailing list > bind-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/bind-users >
_______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users