dns: fix resolving v6 only resources

This commit is contained in:
Markus 2024-11-05 22:59:22 +01:00
parent f1ecb89957
commit 8657599a13
2 changed files with 7 additions and 4 deletions

View File

@ -27,11 +27,9 @@ local-address=127.0.0.1
local-port=5353 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-address=::
query-local-address6={{ global_ipv6 | ipaddr('address') }}
{% endif %}
################################# #################################
# quiet Suppress logging of questions and answers # quiet Suppress logging of questions and answers

View File

@ -32,6 +32,11 @@ local-address=127.0.0.1
# #
local-port=5353 local-port=5353
#################################
# query-local-address Source IP address for sending queries
#
query-local-address=::
################################# #################################
# quiet Suppress logging of questions and answers # quiet Suppress logging of questions and answers
# #