From 53b1ea5253d7c5cf0c3f0cbe984d0e17790896bd Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Wed, 16 Dec 2015 17:36:48 +0100 Subject: [PATCH] auth: listen on v6 by default Closes #1258 --- docs/markdown/changelog.md.raw | 4 ++++ pdns/common_startup.cc | 2 +- pdns/pdns.conf-dist | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/markdown/changelog.md.raw b/docs/markdown/changelog.md.raw index 2d276febd..5faf8b668 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 d296b540d..1a71e7c0c 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 2a94a305b..7d119edf2 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 -- 2.40.0