From: Peter van Dijk Date: Wed, 20 Jan 2021 11:55:16 +0000 (+0100) Subject: rename secondary-renotify to secondary-do-renotify X-Git-Tag: dnsdist-1.6.0-rc1~32^2~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=577d732c73327064b473cc7ba0f27ef14222f7b2;p=thirdparty%2Fpdns.git rename secondary-renotify to secondary-do-renotify --- diff --git a/pdns/common_startup.cc b/pdns/common_startup.cc index 3635a66615..b100469407 100644 --- a/pdns/common_startup.cc +++ b/pdns/common_startup.cc @@ -189,7 +189,7 @@ void declareArguments() ::arg().set("trusted-notification-proxy", "IP address of incoming notification proxy")=""; ::arg().set("slave-renotify", "If we should send out notifications for secondaried updates")="no"; - ::arg().set("secondary-renotify", "If we should send out notifications for secondaried updates")="no"; + ::arg().set("secondary-do-renotify", "If this secondary should send out notifications after receiving zone transfers from a primary")="no"; ::arg().set("forward-notify", "IP addresses to forward received notifications to regardless of master or slave settings")=""; ::arg().set("default-ttl","Seconds a result is valid if not set otherwise")="3600"; diff --git a/pdns/dynhandler.cc b/pdns/dynhandler.cc index d78f38ccc1..76cb927fc4 100644 --- a/pdns/dynhandler.cc +++ b/pdns/dynhandler.cc @@ -289,7 +289,7 @@ string DLNotifyHostHandler(const vector&parts, Utility::pid_t ppid) ostringstream os; if(parts.size()!=3) return "syntax: notify-host domain ip"; - if(!::arg().mustDo("primary") && !(::arg().mustDo("secondary") && ::arg().mustDo("secondary-renotify"))) + if(!::arg().mustDo("primary") && !(::arg().mustDo("secondary") && ::arg().mustDo("secondary-do-renotify"))) return "PowerDNS not configured as primary (master), or secondary (slave) with re-notifications"; DNSName domain; @@ -317,7 +317,7 @@ string DLNotifyHandler(const vector&parts, Utility::pid_t ppid) UeberBackend B; if(parts.size()!=2) return "syntax: notify domain"; - if(!::arg().mustDo("primary") && !(::arg().mustDo("secondary") && ::arg().mustDo("secondary-renotify"))) + if(!::arg().mustDo("primary") && !(::arg().mustDo("secondary") && ::arg().mustDo("secondary-do-renotify"))) return "PowerDNS not configured as primary (master), or secondary (slave) with re-notifications"; g_log<