[Pdns-users] IPv4 and IPv6 sockets at the same time

Marten Lehmann lehmann at cnm.de
Wed Jul 20 14:18:06 UTC 2011


Hello,

I'm running a local recursor with pdns recursor 3.3.

When I have this line:

local-address=::1

pdns answers on queries like "dig google.com @::1".

When I have

local-address=127.0.0.1

pdns answers on queries like "dig google.com @127.0.0.1".

When I combine both ("comma separated", as the documentation describes), 
resulting in this line:

local-address=::1,127.0.0.1

pdns listens to both sockets on port :53 (verified with lsof and 
netstat), but only answers queries to 127.0.0.1, not ::1. It also 
doesn't work with

local-address=[::1],127.0.0.1

Whats wrong with it?

Kind regards
Marten



More information about the Pdns-users mailing list