PowerDNS / pdns

PowerDNS Authoritative, PowerDNS Recursor, dnsdist
https://www.powerdns.com/
GNU General Public License v2.0
3.73k stars 914 forks source link

Wrong ip for AXFR #4265

Closed Kind-der-Nacht closed 8 years ago

Kind-der-Nacht commented 8 years ago

PDNS does not use the "local-adress"-setting for outgoing AXFR requests any more, but uses the servers default ip. AXFR might fail due to missing/wrong rights on the master

rgacogne commented 8 years ago

Hi,

It looks like query-local-address and query-local-address6 are used for, respectively, IPv4 and IPv6. Would you mind checking if setting that solves your issue?

Kind-der-Nacht commented 8 years ago

Yes that worked, thanks.

Maybe the "query-local-adress" should default to "local-address" though to match the old behavior.. migrating to pdns4 could cause some problems otherwise..

Habbie commented 8 years ago

This behaviour was identical in 3..

Kind-der-Nacht commented 8 years ago

Hmm.. can't remember ever setting it before..

Habbie commented 8 years ago

Maybe your network setup changed in some way? If it's not set we just leave the choice to the kernel; note that in some setups this means the chosen IP can change after a simple reboot.