summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorZen3515 <7106408+Zen3515@users.noreply.github.com>2022-11-10 16:23:48 +0700
committerZen3515 <7106408+Zen3515@users.noreply.github.com>2022-11-10 16:23:48 +0700
commit2f105b1b22de382927699d2f3a1ec6f00cb4ecbe (patch)
treecc34e9671d22bbf6cd6668c483a4e3d02e06a03c /data/templates
parent6b574943d77a03cb1011d914d4ab8faf5ffdb0bc (diff)
downloadvyos-1x-2f105b1b22de382927699d2f3a1ec6f00cb4ecbe.tar.gz
vyos-1x-2f105b1b22de382927699d2f3a1ec6f00cb4ecbe.zip
dns: T738: add CLI option for PowerDNS local-port
Diffstat (limited to 'data/templates')
-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 }}