linuxfirewalldigpowerdns

PowerDNS works only on local


So. The PowerDNS 3.3 as salve works only on local. (Also there is a nginx which works fine)

This work good

dig example.com A @127.0.0.1

But this not (slave server)

dig example.com A @ns2.example.com
;; global options: +cmd
;; connection timed out; no servers could be reached

I've tried with IP of ns2.example.com, but no good result anything.

Where the problem might be?


Solution

  • There was a problem in pdns-recursor config.

    So, you need write your real IP address OR 0.0.0.0 instead of 127.0.0.1 in local-address property.