pdns
pdns copied to clipboard
"IXFR fallback to AXFR for domain" log message doesn't apply SOA-EDIT to serial
- Program: Authoritative
- Issue type: Bug report
Short description
The "IXFR fallback to AXFR for domain 'example.com' our serial 2019012401
" log message uses the backend's original serial number, without applying SOA-EDIT
to it.
I don't know if there's a policy about which serial numbers to log, but since the slave's edited serial number is in a long message two lines above, it's confusing to log the master's unedited serial number.
I don't know what other log messages do.
Environment
- Operating system: Ubuntu 16.04
- Software version: 0.0.15918+0.g6da84e3535
- Software source: PowerDNS repository
Steps to reproduce
Set up a PowerDNS master, BIND slave, SOA-EDIT INCEPTION-INCREMENT, DNSSEC, zone transfers, and wait for Thursday morning?
Expected behaviour
Log the edited serial number.
Actual behaviour
Log the unedited serial number.
Other information
Log:
Jan 24 00:15:51 rush pdns_server[1531]: IXFR of domain 'mn9.us' initiated by [2600:3c03::a]:48219 with serial 2019011903
Jan 24 00:15:51 rush pdns_server[1531]: AXFR of domain 'mn9.us' allowed: client IP [2600:3c03::a]:48219 is in allow-axfr-ips
Jan 24 00:15:51 rush pdns_server[1531]: IXFR fallback to AXFR for domain 'mn9.us' our serial 2019011902
$ dig +short mn9.us soa
pdns0.mattnordhoff.net. rname.mn0.us. 2019012401 3600 1800 432000 3600
I use the bind backend.