From: Kees Monshouwer Date: Thu, 31 Oct 2019 08:13:39 +0000 (+0100) Subject: auth: api: purge the entire zone from the cache after a patch operation. X-Git-Tag: auth-4.3.0-alpha1~1^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27e143807e5e8cc5650d25d818619b7334c7a133;p=thirdparty%2Fpdns.git auth: api: purge the entire zone from the cache after a patch operation. --- diff --git a/pdns/ws-auth.cc b/pdns/ws-auth.cc index c82775abab..19ca1b5d56 100644 --- a/pdns/ws-auth.cc +++ b/pdns/ws-auth.cc @@ -2084,7 +2084,7 @@ static void patchZone(UeberBackend& B, HttpRequest* req, HttpResponse* resp) { di.backend->commitTransaction(); - purgeAuthCachesExact(zonename); + purgeAuthCaches(zonename.toString() + "$"); // now the PTRs storeChangedPTRs(B, new_ptrs);