]> granicus.if.org Git - pdns/commitdiff
Remove unused "soa-serial-offset" option
authorChristian Hofstaedtler <christian@hofstaedtler.name>
Mon, 4 Aug 2014 13:52:07 +0000 (15:52 +0200)
committerChristian Hofstaedtler <christian@hofstaedtler.name>
Mon, 4 Aug 2014 14:03:37 +0000 (16:03 +0200)
modules/luabackend/test/pdns.conf
pdns/common_startup.cc
pdns/dnsbackend.cc
pdns/docs/pdns.xml
pdns/pdns.conf-dist
pdns/pdns_recursor.cc

index 08b80df758a174479f543310d15b64348da2aa89..3adb55d543da4e78777bdca021e76c7985ac15fe 100644 (file)
@@ -264,11 +264,6 @@ local-ipv6=::1
 #
 # soa-retry-default=3600
 
-#################################
-# soa-serial-offset    Make sure that no SOA serial is less than this number
-#
-# soa-serial-offset=0
-
 #################################
 # socket-dir   Where the controlsocket will live
 #
index e5969f3481d9e267eca286818672c756f6c8758e..550244387ecfda52e09bd78f1d0c1b1b21edd5ce 100644 (file)
@@ -57,8 +57,7 @@ void declareArguments()
   ::arg().set("query-local-address6","Source IPv6 address for sending queries")="::";
   ::arg().set("overload-queue-length","Maximum queuelength moving to packetcache only")="0";
   ::arg().set("max-queue-length","Maximum queuelength before considering situation lost")="5000";
-  ::arg().set("soa-serial-offset","Make sure that no SOA serial is less than this number")="0";
-  
+
   ::arg().set("retrieval-threads", "Number of AXFR-retrieval threads for slave operation")="2";
   ::arg().setSwitch("experimental-json-interface", "If the webserver should serve JSON data")="no";
   ::arg().setSwitch("experimental-api-readonly", "If the JSON API should disallow data modification")="no";
index baa8f2a552064b6f069a3436ec53ea11e1770777..765b250c43a13bf42e7ccc2c31eedd5d12a9a754 100644 (file)
@@ -332,7 +332,7 @@ bool DNSBackend::calculateSOASerial(const string& domain, const SOAData& sd, tim
         newest=i.last_modified;
     }
 
-    serial=newest; // +arg().asNum("soa-serial-offset");
+    serial=newest;
 
     return true;
 }
index 9efa7cb65341f9cb6107adababff15e3bfea0265..6ce5fbdcbe18da2bbdaf94a842211e7c0c68d9bd 100644 (file)
@@ -13463,6 +13463,16 @@ UPDATE records SET auth=1 WHERE auth IS NULL;
               </para>
             </listitem>
           </varlistentry>
+          <varlistentry>
+            <term>soa-serial-offset=...</term>
+            <listitem>
+              <para>
+                If your database contains single-digit SOA serials and you need to host .DE domains, this setting can help
+                placate their 6-digit SOA serial requirements. Suggested value is to set this to 1000000 which adds 1000000 to all SOA Serials
+                under that offset.
+              </para>
+            </listitem>
+          </varlistentry>
         </variablelist>
       </sect3>
       <sect3><title>Options with changed default values</title>
@@ -17427,12 +17437,6 @@ This setting will make PowerDNS renotify the slaves after an AXFR is *received*
            <listitem><para>
              Default <link linkend="soa-type">SOA</link> retry.
              </para></listitem></varlistentry>
-         <varlistentry><term>soa-serial-offset=...</term>
-           <listitem><para>
-             If your database contains single-digit SOA serials and you need to host .DE domains, this setting can help
-             placate their 6-digit SOA serial requirements. Suggested value is to set this to 1000000 which adds 1000000 to all SOA Serials
-             under that offset.
-             </para></listitem></varlistentry>
          <varlistentry><term>socket-dir=...</term>
            <listitem><para>
                Where the controlsocket will live. See <xref linkend="controlsocket"/>.
index 510341ee8b49c9ce21b57cdedecb084ff23639c7..ec203c0d168eeabf555f78b954a18b15130e7e56 100644 (file)
 #
 # soa-retry-default=3600
 
-#################################
-# soa-serial-offset    Make sure that no SOA serial is less than this number
-#
-# soa-serial-offset=0
-
 #################################
 # socket-dir   Where the controlsocket will live
 #
index eabe3c708c01295ff36e732772290bd3a7b990bf..efd61762e7897d67acf54d5ba621a7bb828a34d8 100644 (file)
@@ -2079,7 +2079,6 @@ int main(int argc, char **argv)
   try {
     ::arg().set("stack-size","stack size per mthread")="200000";
     ::arg().set("soa-minimum-ttl","Don't change")="0";
-    ::arg().set("soa-serial-offset","Don't change")="0";
     ::arg().set("no-shuffle","Don't change")="off";
     ::arg().set("local-port","port to listen on")="53";
     ::arg().set("local-address","IP addresses to listen on, separated by spaces or commas. Also accepts ports.")="127.0.0.1";