Reverse Lookups with Forwarders

Matus UHLAR - fantomas uhlar at fantomas.sk
Tue Jul 9 07:33:54 UTC 2013


On 09.07.13 11:51, sumsum 2000 wrote:
>I have a reverse lookup zone file configuration as follows:
>zone "0/24.110.252.173.in-addr.arpa" {
[...]
>When I do dig -x 172.252.110.27, I expect it to forward it to
>10.10.96.1, but instead, it uses the default resolver.
[...]
> So if DNS Server X is configured against this zone
>, then any reverse DNS request for 173.252.110.0-173.252.110.255
>should be forwarded via DNS Server X

>Currently this is not the case. There is no forwarding in the above
>scenario ( where CIDR notation x.x.x.x/Mask is used)

Neither the BIND nor DNS does use the CIDR format.
the resursive resolution searches for 27.110.252.173.in-addr.arpa which does
NOT belong into 0/24.110.252.173.in-addr.arpa, they are two separate names.

You would have to set up either zone 27.110.252.173.in-addr.arpa or
110.252.173.in-addr.arpa. 

>Only when the zone file is changed to
>                        zone "110.252.173.in-addr.arpa" IN {
>
>All the requests for
>
>173.252.110.0-173.252.110.255  is forwarded to 10.10.96.1.

Use 110.252.173.in-addr.arpa then. You should be aware that the IP range
belongs to facebook, as already noted.

-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
99 percent of lawyers give the rest a bad name. 


More information about the bind-users mailing list