From 482003f869f1f3dd3cfc9f0743fe559b7ee907a1 Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Tue, 5 Nov 2024 23:27:36 +0100 Subject: [PATCH] dns: set a query-local-address that works in any condition --- roles/dns_resolver/templates/recursor.conf.j2 | 2 +- roles/dns_split/templates/recursor.conf.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/dns_resolver/templates/recursor.conf.j2 b/roles/dns_resolver/templates/recursor.conf.j2 index 90bf31c..de37aa8 100644 --- a/roles/dns_resolver/templates/recursor.conf.j2 +++ b/roles/dns_resolver/templates/recursor.conf.j2 @@ -29,7 +29,7 @@ local-port=5353 ################################# # query-local-address Source IP address for sending queries # -query-local-address=:: +query-local-address=::,0.0.0.0 ################################# # 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 8691589..c7a3099 100644 --- a/roles/dns_split/templates/recursor.conf.j2 +++ b/roles/dns_split/templates/recursor.conf.j2 @@ -35,7 +35,7 @@ local-port=5353 ################################# # query-local-address Source IP address for sending queries # -query-local-address=:: +query-local-address=::,0.0.0.0 ################################# # quiet Suppress logging of questions and answers