From 27e143807e5e8cc5650d25d818619b7334c7a133 Mon Sep 17 00:00:00 2001 From: Kees Monshouwer Date: Thu, 31 Oct 2019 09:13:39 +0100 Subject: [PATCH] auth: api: purge the entire zone from the cache after a patch operation. --- pdns/ws-auth.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.2