[Pdns-users] Negative cache upon zone creation
klaus.darilion at nic.at
Thu Feb 24 15:30:32 UTC 2022
Have you really disabled all caches? Also https://doc.powerdns.com/authoritative/settings.html#zone-cache-refresh-interval ?
Von: Pdns-users <pdns-users-bounces at mailman.powerdns.com> Im Auftrag von Andrea Biscuola via Pdns-users
Gesendet: Donnerstag, 24. Februar 2022 15:12
An: pdns-users at mailman.powerdns.com
Betreff: [Pdns-users] Negative cache upon zone creation
In our PowerDNS setup, all of the PowerDNS authoritative server caches are turned off, apart for the max-packet-cache-entries setting that is set to the default, as the same service is given by a series of DNSDist daemons running on top of the PowerDNS ones.
However, querying one of the PowerDNS servers directly for a zone that does not exists, extends the negative response way after we created the zone. This affects some automated systems, where the DNS servers are automatically changed a the registrar, causing the registrar verification process to fail.
So, to recap:
1 - We query PowerDNS (NOT DNSDist) for a non existing zone.
2 - Correctly, PowerDNS responds that the zone does not exists.
3 - In the meantime we create the zone.
4 - PowerDNS continues to respond with a negative response after the zone is created.
5 - PowerDNS gives us the proper response, only after we stop querying it for some time.
Are we missing something? Or is it expected to work just like that? Then we could accomodate our software for that.
Pdns-users mailing list
Pdns-users at mailman.powerdns.com
More information about the Pdns-users