From 9240f4ee64764c82efd778a34f9858b4259e7bb5 Mon Sep 17 00:00:00 2001 From: Bastian Maeuser Date: Wed, 8 Aug 2018 22:34:30 +0200 Subject: [PATCH] Removed uselessness and enabled Powerdns Recursor to make DNS6 --- roles/dns/templates/pdns.conf.j2 | 2 +- roles/dns/templates/recursor.conf.j2 | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/roles/dns/templates/pdns.conf.j2 b/roles/dns/templates/pdns.conf.j2 index 6cd6af2..f792402 100644 --- a/roles/dns/templates/pdns.conf.j2 +++ b/roles/dns/templates/pdns.conf.j2 @@ -16,7 +16,7 @@ local-address=127.0.0.1 # local-ipv6 Local IP address to which we bind # # local-ipv6=:: -local-ipv6=:: +local-ipv6= ################################# # local-port The port on which we listen diff --git a/roles/dns/templates/recursor.conf.j2 b/roles/dns/templates/recursor.conf.j2 index 7085fee..7cbf21f 100644 --- a/roles/dns/templates/recursor.conf.j2 +++ b/roles/dns/templates/recursor.conf.j2 @@ -32,6 +32,13 @@ local-address=127.0.0.1,{{ batman_ipv4 | ipaddr('address') }},{{ batman_ipv6 | i # local-port=53 +################################# +# query-local-address6 Send out local IPv6 queries from this address or addresses. Disabled by default, which also disables outgoing +# +{% if global_ipv6 is defined %} +query-local-address6={{ global_ipv6 | ipaddr('address') }} +{% endif %} + ################################# # quiet Suppress logging of questions and answers #