summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-10-07 18:10:31 +0200
committerGitHub <noreply@github.com>2020-10-07 18:10:31 +0200
commit97b96aec7b94f9992920fc1fdbbe6ec3b5ffa1bb (patch)
treec262977bf685718945c9b9222af6f0a5b28f6d93 /data
parenta86c4347c214d7f74a011d1500c4cfa1fb3d854c (diff)
parente9cac63933ae9ddbb13a64406cff77640ab901dc (diff)
downloadvyos-1x-97b96aec7b94f9992920fc1fdbbe6ec3b5ffa1bb.tar.gz
vyos-1x-97b96aec7b94f9992920fc1fdbbe6ec3b5ffa1bb.zip
Merge pull request #563 from lucasec/dns-source-address
pdns_recursor: T2964: Expose query-local-address to dns config.
Diffstat (limited to 'data')
-rw-r--r--data/templates/dns-forwarding/recursor.conf.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/dns-forwarding/recursor.conf.tmpl b/data/templates/dns-forwarding/recursor.conf.tmpl
index b0ae3cc61..8799718b0 100644
--- a/data/templates/dns-forwarding/recursor.conf.tmpl
+++ b/data/templates/dns-forwarding/recursor.conf.tmpl
@@ -10,8 +10,8 @@ threads=1
allow-from={{ allow_from | join(',') }}
log-common-errors=yes
non-local-bind=yes
-query-local-address=0.0.0.0
-query-local-address6=::
+query-local-address={{ source_address_v4 | join(',') }}
+query-local-address6={{ source_address_v6 | join(',') }}
lua-config-file=recursor.conf.lua
# cache-size