From: Peter van Dijk Date: Wed, 26 May 2021 10:50:14 +0000 (+0200) Subject: auth: enable zone cache by default X-Git-Tag: auth-4.5.0-beta1~5^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30285d454a3417901fb3f82bd5aeeb67aa6c0457;p=thirdparty%2Fpdns.git auth: enable zone cache by default --- diff --git a/docs/upgrading.rst b/docs/upgrading.rst index 38f290762a..3055cb555b 100644 --- a/docs/upgrading.rst +++ b/docs/upgrading.rst @@ -54,6 +54,10 @@ Removed options ~~~~~~~~~~~~~~~ - :ref:`setting-local-ipv6` has been removed. IPv4 and IPv6 listen addresses should now be set with :ref:`setting-local-address`. +Starting with auth-4.5.0-alpha2: + +- The default value of the ``zone-cache-refresh-interval`` option has been changed from ``0`` to ``300``. + 4.3.x to 4.4.0 -------------- diff --git a/pdns/common_startup.cc b/pdns/common_startup.cc index c340596492..f91b80c4fb 100644 --- a/pdns/common_startup.cc +++ b/pdns/common_startup.cc @@ -181,7 +181,7 @@ void declareArguments() ::arg().set("cache-ttl","Seconds to store packets in the PacketCache")="20"; ::arg().set("negquery-cache-ttl","Seconds to store negative query results in the QueryCache")="60"; ::arg().set("query-cache-ttl","Seconds to store query results in the QueryCache")="20"; - ::arg().set("zone-cache-refresh-interval", "Seconds to cache list of known zones") = "0"; + ::arg().set("zone-cache-refresh-interval", "Seconds to cache list of known zones") = "300"; ::arg().set("server-id", "Returned when queried for 'id.server' TXT or NSID, defaults to hostname - disabled or custom")=""; ::arg().set("default-soa-content","Default SOA content")="a.misconfigured.dns.server.invalid hostmaster.@ 0 10800 3600 604800 3600"; ::arg().set("default-soa-edit","Default SOA-EDIT value")="";