summaryrefslogtreecommitdiff
path: root/data/templates/dns-forwarding
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-11-10 10:58:58 +0100
committerGitHub <noreply@github.com>2022-11-10 10:58:58 +0100
commitaabfb09e42079eb735904ced2fab600de5a550f3 (patch)
treecc34e9671d22bbf6cd6668c483a4e3d02e06a03c /data/templates/dns-forwarding
parent6b574943d77a03cb1011d914d4ab8faf5ffdb0bc (diff)
parent2f105b1b22de382927699d2f3a1ec6f00cb4ecbe (diff)
downloadvyos-1x-aabfb09e42079eb735904ced2fab600de5a550f3.tar.gz
vyos-1x-aabfb09e42079eb735904ced2fab600de5a550f3.zip
Merge pull request #1650 from Zen3515/current-add-pdns-local-port
dns: T738: add CLI option for PowerDNS local-port
Diffstat (limited to 'data/templates/dns-forwarding')
-rw-r--r--data/templates/dns-forwarding/recursor.conf.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/dns-forwarding/recursor.conf.j2 b/data/templates/dns-forwarding/recursor.conf.j2
index ce1b676d1..e02e6c13d 100644
--- a/data/templates/dns-forwarding/recursor.conf.j2
+++ b/data/templates/dns-forwarding/recursor.conf.j2
@@ -29,6 +29,9 @@ export-etc-hosts={{ 'no' if ignore_hosts_file is vyos_defined else 'yes' }}
# listen-address
local-address={{ listen_address | join(',') }}
+# listen-port
+local-port={{ port }}
+
# dnssec
dnssec={{ dnssec }}