# pdns_server
Jan 13 14:59:38 Loading '/usr/lib64/pdns/libbindbackend.so'
Jan 13 14:59:38 This is a standalone pdns
Jan 13 14:59:38 Listening on controlsocket in '/var/run/pdns/pdns.controlsocket'
Jan 13 14:59:38 [bindbackend] Parsing 1 domain(s), will report when done
Jan 13 14:59:38 [bindbackend] error at 2022-01-13 14:59:38 +0000 no file found for new slave domain 'a1.dnslab.org'. Has not been AXFR'd yet
Jan 13 14:59:38 [bindbackend] Done parsing domains, 1 rejected, 1 new, 0 removed
Jan 13 14:59:38 UDP server bound to 0.0.0.0:53
Jan 13 14:59:38 UDP server bound to [::]:53
Jan 13 14:59:38 TCP server bound to 0.0.0.0:53
Jan 13 14:59:38 TCP server bound to [::]:53
Jan 13 14:59:38 PowerDNS Authoritative Server 4.7.0-alpha0.192.master.g3f4b183ea (C) 2001-2022 PowerDNS.COM BV
Jan 13 14:59:38 Using 64-bits mode. Built using gcc 8.5.0 20210514 (Red Hat 8.5.0-4) on Jan 13 2022 09:30:00 by root@428373f73c0e.
Jan 13 14:59:38 PowerDNS comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2.
Jan 13 14:59:38 Not validating response for security status update, this is a non-release version
Jan 13 14:59:38 Creating backend connection for TCP
Jan 13 14:59:38 About to create 3 backend threads for UDP
Jan 13 14:59:38 Primary/secondary communicator launching
Jan 13 14:59:38 Done launching threads, ready to distribute questions
Jan 13 14:59:38 Zone 'a1.dnslab.org' (/etc/pdns/a1) reloaded
Jan 13 14:59:38 AXFR-in zone: 'a1.dnslab.org', primary: '192.168.55.191', zone committed with serial 5
*** at this point I make the zone unavailable on the primary server
Jan 13 15:03:38 While checking domain freshness: Query to '192.168.55.191:53' for SOA of 'a1.dnslab.org' produced no results (RCode: Query Refused)
Jan 13 15:03:41 Received serial number updates for 0 zones, had 1 timeout
Jan 13 15:03:41 Unable to retrieve SOA for a1.dnslab.org, this was the first time. NOTE: For every subsequent failed SOA check the domain will be suspended from freshness checks for 'num-errors x 60 seconds', with a maximum of 3600 seconds. Skipping SOA checks until 1642086281
Jan 13 15:04:41 While checking domain freshness: Query to '192.168.55.191:53' for SOA of 'a1.dnslab.org' produced no results (RCode: Query Refused)
Jan 13 15:04:44 Received serial number updates for 0 zones, had 1 timeout
Jan 13 15:06:44 While checking domain freshness: Query to '192.168.55.191:53' for SOA of 'a1.dnslab.org' produced no results (RCode: Query Refused)
Jan 13 15:06:47 Received serial number updates for 0 zones, had 1 timeout
Jan 13 15:09:47 While checking domain freshness: Query to '192.168.55.191:53' for SOA of 'a1.dnslab.org' produced no results (RCode: Query Refused)
Jan 13 15:09:50 Received serial number updates for 0 zones, had 1 timeout
Jan 13 15:13:50 While checking domain freshness: Query to '192.168.55.191:53' for SOA of 'a1.dnslab.org' produced no results (RCode: Query Refused)
Jan 13 15:13:53 Received serial number updates for 0 zones, had 1 timeout
Jan 13 15:18:54 While checking domain freshness: Query to '192.168.55.191:53' for SOA of 'a1.dnslab.org' produced no results (RCode: Query Refused)
Jan 13 15:18:57 Received serial number updates for 0 zones, had 1 timeout
Short description
PowerDNS Authoritative with the BIND backend does not expire a secondary zone when the SOA expire timer elapses.
Environment
Steps to reproduce
pdns.confnamed.confExpected behaviour
I expected PowerDNS to expire the secondary zone, having it
SERVFAILorREFUSEqueries to it. (BIND 9.16, Knot DNS 3.1.4, and NSD 4.3.8 reportSERVFAIL)Actual behaviour
The zone is not expired and continues being available for queries. The time elapsed between the diagnostic that the zone transfer was complete until I stopped the test was 19 minutes and 19 seconds.