[Pdns-users] Forward IPv6 Requests?

Nick Milas nmilas at admin.noa.gr
Wed Mar 30 18:13:33 UTC 2011


On 30/3/2011 7:41 ΌΌ, Pascal R. wrote:

> HI,
>
> my PDNS currently do IPv4 recursion with the following config:
>
> recursor=8.8.8.8
>
>
> How can i add an IPV6 Recorder to the pdns.conf ?
>

This is what I use in my pdns.conf:

     local-address=127.0.0.1 10.10.10.10
     do-ipv6-additional-processing=yes
     local-ipv6=::1 2001:xxxx:xxxx:xxxx::xxxx
     local-port=53
     allow-axfr-ips=10.10.10.10, 10.10.11.10
     recursor=127.0.0.1:5300

And in recursor.conf (hosted on the same box):

     local-address=127.0.0.1,10.10.10.10,[::1],[2001:xxxx:xxxx:xxxx::xxxx]
     allow-from=0.0.0.0/0,::/0
     query-local-address6=2001:xxxx:xxxx:xxxx::xxxx
     local-port=5300
     aaaa-additional-processing=on

10.10.10.10 is the IPv4 address of the box (it is public, and I have 
replaced it).
2001:xxxx:xxxx:xxxx::xxxx is always my IPv6 address of the box (public too).

I can't tell whether this is the best configuration (I welcome all 
comments), but it works.

As Maik has said, in fact we communicate with the recursor over local 
IPv4 (at a different port). It is true that it's better to have a 
different box for auth and recursion, but we have a low volume of DNS 
queries and it's not a problem at this time.

Hope that helps.

Nick



More information about the Pdns-users mailing list