From: Otto Moerbeek Date: Mon, 6 May 2024 13:49:39 +0000 (+0200) Subject: Include "notify_allowd" in zone object produced X-Git-Tag: rec-5.1.0-beta1~19^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b537911310189152bfadc1ecec33bac054b61a90;p=thirdparty%2Fpdns.git Include "notify_allowd" in zone object produced --- diff --git a/pdns/recursordist/ws-recursor.cc b/pdns/recursordist/ws-recursor.cc index 16253f5729..fdc56cc9d2 100644 --- a/pdns/recursordist/ws-recursor.cc +++ b/pdns/recursordist/ws-recursor.cc @@ -214,6 +214,7 @@ static void fillZone(const DNSName& zonename, HttpResponse* resp) {"kind", zone.d_servers.empty() ? "Native" : "Forwarded"}, {"servers", servers}, {"recursion_desired", zone.d_servers.empty() ? false : zone.d_rdForward}, + {"notify_allowed", isAllowNotifyForZone(zonename)}, {"records", records}}; resp->setJsonBody(doc);