From: Pieter Lexis Date: Wed, 16 Dec 2015 16:36:48 +0000 (+0100) Subject: auth: listen on v6 by default X-Git-Tag: dnsdist-1.0.0-alpha1~47^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F3054%2Fhead;p=thirdparty%2Fpdns.git auth: listen on v6 by default Closes #1258 --- diff --git a/docs/markdown/changelog.md.raw b/docs/markdown/changelog.md.raw index 2d276febd7..5faf8b6685 100644 --- a/docs/markdown/changelog.md.raw +++ b/docs/markdown/changelog.md.raw @@ -54,6 +54,10 @@ The following backend have been dropped in 4.0.0: - LMDB - Geo (use the [GeoIP](authoritative/backend-geoip.md) instead) +Important changes: + +- PowerDNS now listens by default on all IPv6 addresses + to be continued.... # PowerDNS Authoritative Server 3.4.7 diff --git a/pdns/common_startup.cc b/pdns/common_startup.cc index d296b540d6..1a71e7c0c8 100644 --- a/pdns/common_startup.cc +++ b/pdns/common_startup.cc @@ -62,7 +62,7 @@ void declareArguments() ::arg().set("local-address","Local IP addresses to which we bind")="0.0.0.0"; ::arg().setSwitch("local-address-nonexist-fail","Fail to start if one or more of the local-address's do not exist on this server")="yes"; ::arg().setSwitch("non-local-bind", "Enable binding to non-local addresses by using FREEBIND / BINDANY socket options")="no"; - ::arg().set("local-ipv6","Local IP address to which we bind")=""; + ::arg().set("local-ipv6","Local IP address to which we bind")="::"; ::arg().setSwitch("reuseport","Enable higher performance on compliant kernels by using SO_REUSEPORT allowing each receiver thread to open its own socket")="no"; ::arg().setSwitch("local-ipv6-nonexist-fail","Fail to start if one or more of the local-ipv6 addresses do not exist on this server")="yes"; ::arg().set("query-local-address","Source IP address for sending queries")="0.0.0.0"; diff --git a/pdns/pdns.conf-dist b/pdns/pdns.conf-dist index 2a94a305bc..7d119edf22 100644 --- a/pdns/pdns.conf-dist +++ b/pdns/pdns.conf-dist @@ -232,7 +232,7 @@ ################################# # local-ipv6 Local IP address to which we bind # -# local-ipv6= +# local-ipv6=:: ################################# # local-ipv6-nonexist-fail Fail to start if one or more of the local-ipv6 addresses do not exist on this server