It would be great if there was a way to add/edit allow-axfr-ips to powerdns config so we can use any Anycast DNS service.
I guess we could enter the powerdns docker container and try to add it there but I'm afraid it might brake thing in the enhance panel or services.

Or a quick guide/tips on how this could be achieved

We have an open feature request for this, it should be possible in the future. If you edit the config it will only persist until the next update of the dnscd container. There is one coming in the next core update (9.8.0) but there's unlikely to be another for a while.

a year later
14 days later
5 months later

I did get this working in version 12 by adding the following in a file under /etc/powerdns/pdns.d/axfr.conf on your primary DNS server.

allow-axfr-ips=127.0.0.0/8,<Insert secondary DNS IPs here>
also-notify=<Insert secondary DNS IPs here>
primary=yes
default-soa-edit=INCEPTION-INCREMENT

Then just run sudo systemctl restart pdns. This, of course, is not officially supported.

Write a Reply...
Follow @enhancecp