]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
auth: cleanup deprecated arguments
authorKees Monshouwer <mind04@monshouwer.org>
Wed, 8 Nov 2023 14:53:28 +0000 (15:53 +0100)
committermind04 <mind04@monshouwer.org>
Mon, 13 Nov 2023 17:04:25 +0000 (18:04 +0100)
docs/backends/bind.rst
pdns/arguments.cc
pdns/auth-secondarycommunicator.cc

index 19d7021606f252c98e03918a1330e86769a4fea8..dc787c76cd54abc75b9f4db4e76f975ffc2eca4a 100644 (file)
@@ -108,10 +108,15 @@ Store DNSSEC keys and metadata storage in another backend. See the
 Setting this option to ``yes`` makes PowerDNS ignore out of zone records
 when loading zone files.
 
-.. _setting-bind-supermasters:
+Autoprimary support (experimental)
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-``bind-supermasters``
-~~~~~~~~~~~~~~~~~~~~~
+.. _setting-bind-autoprimaries:
+
+``bind-autoprimaries``
+~~~~~~~~~~~~~~~~~~~~~~
+
+Changed in version 4.9.0: This was called ``bind-supermasters`` before 4.9.0.
 
 Specifies file where to read list of autoprimaries.
 BIND backend only checks IP address of primary server.
@@ -120,20 +125,24 @@ The file must contain one IP and account per line, separated by whitespace.
 
 BIND backend can only read this file, not write it.
 
-.. _setting-bind-supermaster-config:
+.. _setting-bind-autoprimary-config:
 
-``bind-supermaster-config``
+``bind-autoprimary-config``
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
+Changed in version 4.9.0: This was called ``bind-supermaster-config`` before 4.9.0.
+
 When a new zone is configured via the autosecondary mechanism, bindbackend *writes* a zone entry to this file.
 
 Your ``bind-config`` file should have an ``include`` statement to make sure this file is read on startup.
 
-.. _setting-bind-supermaster-destdir:
+.. _setting-bind-autoprimary-destdir:
 
-``bind-supermaster-destdir``
+``bind-autoprimary-destdir``
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
+Changed in version 4.9.0: This was called ``bind-supermaster-destdir`` before 4.9.0.
+
 Each new zone configured via the autosecondary mechanism gets a zone file in this directory.
 This directory must be writable.
 
index aacd60b90f291d2e05ae0e57d9b8214cb108aca7..d0a4ec7767202726a5a80f53e1de14cec09eb7ba 100644 (file)
@@ -359,12 +359,6 @@ static const map<string, string> deprecateList = {
   {"snmp-master-socket", "snmp-daemon-socket"},
   {"xpf-allow-from", "Proxy Protocol"},
   {"xpf-rr-code", "Proxy Protocol"},
-  {"allow-unsigned-autoprimary", "allow-unsigned-autoprimary"},
-  {"master", "primary"},
-  {"slave-cycle-interval", "xfr-cycle-interval"},
-  {"slave-renotify", "secondary-do-renotify"},
-  {"slave", "secondary"},
-  {"superslave", "autosecondary"},
   {"domain-metadata-cache-ttl", "zone-metadata-cache-ttl"},
 };
 
index 5c5305c2d9acc3a6f2aae2124f42304d3cefadb1..9b76a66526381ca93c9de150b3c86fb74ea2f205 100644 (file)
@@ -961,7 +961,7 @@ void CommunicatorClass::suck(const DNSName& domain, const ComboAddress& remote,
       doNotify = (meta.front() == "1");
     }
     else {
-      doNotify = (::arg().mustDo("slave-renotify"));
+      doNotify = (::arg().mustDo("secondary-do-renotify"));
     }
     if (doNotify) {
       notifyDomain(domain, &B);