From: Ruben d'Arco Date: Mon, 3 Dec 2012 05:18:30 +0000 (+0100) Subject: Add disable-rfc2136 and allow-2136-from options X-Git-Tag: rec-3.6.0-rc1~556^2~3^2~106 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e02a4bb4a8ed7411458bd689058183ddf8cb348b;p=thirdparty%2Fpdns.git Add disable-rfc2136 and allow-2136-from options --- diff --git a/pdns/common_startup.cc b/pdns/common_startup.cc index 32d766d235..fe459f5d3e 100644 --- a/pdns/common_startup.cc +++ b/pdns/common_startup.cc @@ -39,7 +39,8 @@ ArgvMap &arg() void declareArguments() { ::arg().set("local-port","The port on which we listen")="53"; - ::arg().setSwitch("log-failed-updates","If PDNS should log failed update requests")=""; + ::arg().setSwitch("disable-rfc2136","Enable/Disable RFC2136 (Dynamic DNS) support. Default is no.")="yes"; + ::arg().setSwitch("allow-2136-from","A global setting to allow RFC2136 from these IP ranges.")="0.0.0.0/0"; ::arg().setSwitch("log-dns-details","If PDNS should log DNS non-erroneous details")=""; ::arg().setSwitch("log-dns-queries","If PDNS should log all incoming DNS queries")="no"; ::arg().set("urlredirector","Where we send hosts to that need to be url redirected")="127.0.0.1";