[Pdns-users] PDNS Reverse DNS lookup recursion

GordonJB ghardy66 at hotmail.com
Thu Nov 8 11:45:42 UTC 2012


Hi Peter,

Success! I removed the old in-addr.arpa and added a more specific
3.2.1.in-addr.arpa zone and both reverse queries now resolve! 

Thanks, Gordon

Peter van Dijk-6 wrote:
> 
> Hello Gordon,
> 
> On Nov 6, 2012, at 14:50 , GordonJB wrote:
> 
>> I have a PDNS server set up with a zone and reverse zone for our domain
>> (here 1.2.3.4), and have the recursor configured to forward requests not
>> in
>> our recognized zones to another DNS server on the network (here 1.2.0.4).
>> While this works fine for hostname lookups, it doesn't seem to work for
>> reverse DNS. If I dig an IP that is in PDNS' reverse zone, that works
>> fine,
>> but any other IP's fail outright.
>> 
> ...
>> 
>> pdns.conf:
>> allow-recursion=10.0.0.0/8,192.168.0.0/16
>> allow-recursion-override=off
>> daemon=yes
>> disable-axfr=yes
>> guardian=yes
>> launch=gmysql
>> lazy-recursion=yes
>> local-address=1.2.3.4
>> local-port=53
>> recursor=1.2.0.4
>> 
>> recursor.conf:
>> forward-zones= example.local=1.2.3.4, other.net=1.2.0.4,
>> 3.2.1.in-addr.arpa=1.2.3.4
>> local-address=127.0.0.1
>> local-port=53
> 
> 
> There are two ways to fix this.
> 
> The best way is to make your clients talk to your recursor - that way
> forward-zones controls exactly what they see.
> 
> The second best way is to make sure your pdns_server does not have an
> in-addr.arpa zone (like you apparently have), and making sure it only has
> the zones you actually want to be overridden.
> 
> Kind regards,
> -- 
> Peter van Dijk
> Netherlabs Computer Consulting BV - http://www.netherlabs.nl/
> 
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
> 
> 

-- 
View this message in context: http://old.nabble.com/PDNS-Reverse-DNS-lookup-recursion-tp34646567p34655891.html
Sent from the PowerDNS mailing list archive at Nabble.com.




More information about the Pdns-users mailing list