From: Remi Gacogne Date: Fri, 1 Mar 2019 08:59:20 +0000 (+0100) Subject: auth: Clear caches (query, packet) on domain deletion via the API X-Git-Tag: dnsdist-1.4.0-alpha1~48^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7529%2Fhead;p=thirdparty%2Fpdns.git auth: Clear caches (query, packet) on domain deletion via the API --- diff --git a/pdns/ws-auth.cc b/pdns/ws-auth.cc index 43fde3c9f8..d516b31d73 100644 --- a/pdns/ws-auth.cc +++ b/pdns/ws-auth.cc @@ -1676,6 +1676,7 @@ static void apiServerZoneDetail(HttpRequest* req, HttpResponse* resp) { // clear caches DNSSECKeeper dk(&B); dk.clearCaches(zonename); + purgeAuthCaches(zonename.toString() + "$"); // empty body on success resp->body = "";