On 19/01/2021 10:07, Dedan Irungu via Pdns-users wrote:
The issue was on dnsdist configuration it worked by changing.

    recursive_ips:addMask('0.0.0.0/ <http://127.0.0.1/8>0')
     to
    recursive_ips:addMask('127.0.0.1/8 <http://127.0.0.1/8>')

Thank you for your assistance.

By the way, if that's the only thing you want to achieve - answer recursively from 127.0.0.1 *only* - then there's a much easier way that doesn't involve dnsdist.  Simply bind the recursor to 127.0.0.1, and bind the authoritative server to your external IP. Both can then listen on port 53 at the same time.

You'll want dnsdist only if you are receiving a mixture of both authoritative and recursive requests across the network.

Regards,

Brian.

_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to