diff --git a/roles/dns_resolver/templates/recursor.conf.j2 b/roles/dns_resolver/templates/recursor.conf.j2 index c98834a..90bf31c 100644 --- a/roles/dns_resolver/templates/recursor.conf.j2 +++ b/roles/dns_resolver/templates/recursor.conf.j2 @@ -27,11 +27,9 @@ local-address=127.0.0.1 local-port=5353 ################################# -# query-local-address6 Send out local IPv6 queries from this address or addresses. Disabled by default, which also disables outgoing +# query-local-address Source IP address for sending queries # -{% if global_ipv6 is defined %} -query-local-address6={{ global_ipv6 | ipaddr('address') }} -{% endif %} +query-local-address=:: ################################# # quiet Suppress logging of questions and answers diff --git a/roles/dns_split/templates/recursor.conf.j2 b/roles/dns_split/templates/recursor.conf.j2 index d1a1c6c..8691589 100644 --- a/roles/dns_split/templates/recursor.conf.j2 +++ b/roles/dns_split/templates/recursor.conf.j2 @@ -32,6 +32,11 @@ local-address=127.0.0.1 # local-port=5353 +################################# +# query-local-address Source IP address for sending queries +# +query-local-address=:: + ################################# # quiet Suppress logging of questions and answers #