[Pdns-users] Negative cache upon zone creation
Klaus Darilion
klaus.darilion at nic.at
Thu Feb 24 20:15:04 UTC 2022
IIRC you are right. But there were several updatest o the zone cache after release. If you use 4.5 make sure to use latest 4.5.x version. regards
Klaus
-----Ursprüngliche Nachricht-----
Von: Lucas Rolff <lucas at lucasrolff.com>
Gesendet: Donnerstag, 24. Februar 2022 16:58
An: Klaus Darilion <klaus.darilion at nic.at>
Cc: Andrea Biscuola <andrea.biscuola at host.it>; Pdns-users at mailman.powerdns.com
Betreff: Re: [Pdns-users] Negative cache upon zone creation
zone-cache-refresh-interval should only be changed if updating the backend directly right? If using the API, this setting shouldn’t matter - as far as I know, the API will invalidate the zone-cache.
> On 24 Feb 2022, at 23:30, Klaus Darilion via Pdns-users <Pdns-users at mailman.powerdns.com> wrote:
>
> Have you really disabled all caches? Also https://doc.powerdns.com/authoritative/settings.html#zone-cache-refresh-interval ?
> regards
> Klaus
>
> -----Ursprüngliche Nachricht-----
> 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
>
> Hello.
>
> 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.
>
> Thank you.
>
> Andrea
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/pdns-users
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/pdns-users
More information about the Pdns-users
mailing list