From 8de9c0543cc162d8edf9b46f27d46a447148ced5 Mon Sep 17 00:00:00 2001 From: Bert Hubert Date: Mon, 31 Jan 2011 13:08:24 +0000 Subject: [PATCH] implement slave-renotify for front-signing operation with renotification of the actual slaves git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1950 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- pdns/common_startup.cc | 1 + pdns/slavecommunicator.cc | 2 ++ 2 files changed, 3 insertions(+) diff --git a/pdns/common_startup.cc b/pdns/common_startup.cc index 74431b14d7..39329d239a 100644 --- a/pdns/common_startup.cc +++ b/pdns/common_startup.cc @@ -117,6 +117,7 @@ void declareArguments() ::arg().set("soa-expire-default","Default SOA expire")="604800"; ::arg().set("trusted-notification-proxy", "IP address of incoming notification proxy")=""; + ::arg().set("slave-renotify", "If we should send out notifications for slaved updates")="no"; ::arg().set("default-ttl","Seconds a result is valid if not set otherwise")="3600"; ::arg().set("max-tcp-connections","Maximum number of TCP connections")="10"; diff --git a/pdns/slavecommunicator.cc b/pdns/slavecommunicator.cc index 415f01ba85..6f4bc1639e 100644 --- a/pdns/slavecommunicator.cc +++ b/pdns/slavecommunicator.cc @@ -160,6 +160,8 @@ void CommunicatorClass::suck(const string &domain,const string &remote) di.backend->commitTransaction(); di.backend->setFresh(domain_id); L<