Permalink
Browse files

Remove unused "soa-serial-offset" option

  • Loading branch information...
1 parent c96290a commit a1fe72a495de9078c07cbeb01fd3e9fdaf39c1a9 @zeha zeha committed Aug 4, 2014
Showing with 12 additions and 20 deletions.
  1. +0 −5 modules/luabackend/test/pdns.conf
  2. +1 −2 pdns/common_startup.cc
  3. +1 −1 pdns/dnsbackend.cc
  4. +10 −6 pdns/docs/pdns.xml
  5. +0 −5 pdns/pdns.conf-dist
  6. +0 −1 pdns/pdns_recursor.cc
@@ -265,11 +265,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
#
# socket-dir=/var/run
@@ -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";
View
@@ -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;
}
View
@@ -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"/>.
View
@@ -430,11 +430,6 @@
# 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
#
# socket-dir=/var/run
@@ -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";

0 comments on commit a1fe72a

Please sign in to comment.