]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rename supermaster to superslave, and mention in upgrade notes 7723/head
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Mon, 15 Apr 2019 08:05:15 +0000 (10:05 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Mon, 15 Apr 2019 08:58:24 +0000 (10:58 +0200)
docs/modes-of-operation.rst
docs/settings.rst
docs/upgrading.rst
pdns/common_startup.cc
pdns/packethandler.cc
regression-tests.nobackend/supermaster-signed/command
regression-tests.nobackend/supermaster-unsigned/command

index bf76cf28e970bf44bc9448f7210daf0247cbf6e2..4323d1a6ef6dfe9481104c666639e3f96c01eabb 100644 (file)
@@ -201,10 +201,10 @@ itself as a slave for that zone.
 Before a supermaster notification succeeds, the following conditions
 must be met:
 
- - :ref:`setting-supermaster` support must be enabled
+ - :ref:`setting-superslave` support must be enabled
  - The supermaster must carry a SOA record for the notified domain
- - The supermaster IP must be present in the 'supermaster' table
- - The set of NS records for the domain, as retrieved by the slave from the supermaster, must include the name that goes with the IP address in the supermaster table
+ - The supermaster IP must be present in the 'supermasters' table
+ - The set of NS records for the domain, as retrieved by the slave from the supermaster, must include the name that goes with the IP address in the supermasters table
  - If your master sends signed NOTIFY it will mark that TSIG key as the TSIG key used for retrieval as well
  - If you turn off :ref:`setting-allow-unsigned-supermaster`, then your supermaster(s) are required to sign their notifications.
 
index eab1244d270046cbe771b179dcf3c2b2f772292c..2f52848527db51f83cb7babcce53cbd44ef1173e 100644 (file)
@@ -1449,9 +1449,9 @@ This path will also contain the pidfile for this instance of PowerDNS
 called ``pdns.pid`` by default. See :ref:`setting-config-name`
 and :doc:`Virtual Hosting <guides/virtual-instances>` how this can differ.
 
-.. _setting-supermaster:
+.. _setting-superslave:
 
-``supermaster``
+``superslave``
 ---------------
 
 -  Boolean
index 82ca98075471b424a7b6d0996229c76852abeb67..b0b7ba64ff2e77b39c756fd8cf53e2c89caaad5f 100644 (file)
@@ -8,6 +8,11 @@ Please upgrade to the PowerDNS Authoritative Server 4.0.0 from 3.4.2+.
 See the `3.X <https://doc.powerdns.com/3/authoritative/upgrading/>`__
 upgrade notes if your version is older than 3.4.2.
 
+4.1.X to 4.2.0
+--------------
+
+- Superslave operation is no longer enabled by default, use :ref:`setting-superslave` to enable. This setting was called ``supermaster`` in some 4.2.0 prereleases.
+
 4.1.0 to 4.1.1
 --------------
 
index e7f6f5ab95255b3ebe17a214c2420ae131aa0634..bd57fc54235208771682b01da17d0c3a1d5e146d 100644 (file)
@@ -137,7 +137,7 @@ void declareArguments()
   
   ::arg().setSwitch("slave","Act as a slave")="no";
   ::arg().setSwitch("master","Act as a master")="no";
-  ::arg().setSwitch("supermaster", "Act as a supermaster")="no";
+  ::arg().setSwitch("superslave", "Act as a superslave")="no";
   ::arg().setSwitch("disable-axfr-rectify","Disable the rectify step during an outgoing AXFR. Only required for regression testing.")="no";
   ::arg().setSwitch("guardian","Run within a guardian process")="no";
   ::arg().setSwitch("prevent-self-notification","Don't send notifications to what we think is ourself")="yes";
index e7189ece004c6515c115c929d42838ab004db1eb..fbd5b6da20e091a7195498e69e73312509735c58 100644 (file)
@@ -887,7 +887,7 @@ int PacketHandler::processNotify(DNSPacket *p)
   //
   DomainInfo di;
   if(!B.getDomainInfo(p->qdomain, di, false) || !di.backend) {
-    if(::arg().mustDo("supermaster")) {
+    if(::arg().mustDo("superslave")) {
       g_log<<Logger::Warning<<"Received NOTIFY for "<<p->qdomain<<" from "<<p->getRemote()<<" for which we are not authoritative, trying supermaster"<<endl;
       return trySuperMaster(p, p->getTSIGKeyname());
     }
index 6eb46127f0852d39414a3db71afaba7fd024f570..ffb0da45c548e69b59b68852c46079a357307143 100755 (executable)
@@ -94,7 +94,7 @@ start_slave()
 
         $RUNWRAPPER $PDNS2 --daemon=no --local-port=$slaveport --config-dir=. --module-dir=../regression-tests/modules \
                 --config-name=gsqlite3-slave --socket-dir=./ --no-shuffle --local-address=127.0.0.2 --local-ipv6='' \
-                --slave --retrieval-threads=4 --slave=yes --supermaster=yes --query-local-address=127.0.0.2 \
+                --slave --retrieval-threads=4 --slave=yes --superslave=yes --query-local-address=127.0.0.2 \
                 --slave-cycle-interval=300 --allow-unsigned-notify=no --allow-unsigned-supermaster=no &
 }
 
index 86dde039276fabc4de0d2a65cef9e922ee7c79d0..6311fd2d01951f324dac2ce2ef2b03e290bbd0aa 100755 (executable)
@@ -85,7 +85,7 @@ start_slave()
 
         $RUNWRAPPER $PDNS2 --daemon=no --local-port=$slaveport --config-dir=. --module-dir=../regression-tests/modules \
                 --config-name=gsqlite3-slave --socket-dir=./ --no-shuffle --local-address=127.0.0.2 --local-ipv6= \
-                --slave --retrieval-threads=4 --slave=yes --supermaster=yes --query-local-address=127.0.0.2 \
+                --slave --retrieval-threads=4 --slave=yes --superslave=yes --query-local-address=127.0.0.2 \
                 --slave-cycle-interval=300 --dname-processing &
 }