summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-07-05 12:25:44 +0200
committerGitHub <noreply@github.com>2022-07-05 12:25:44 +0200
commit373aacd2375f35400a351345b2fa849efdae0543 (patch)
tree9f21d48dff52fe9c22f6780d6feae33f11617a8a /data
parent1520deeddfb6928e0b7053a6f526909407868dfd (diff)
parent2bdf4798570222b57af2de2f0b443529abdc3feb (diff)
downloadvyos-1x-373aacd2375f35400a351345b2fa849efdae0543.tar.gz
vyos-1x-373aacd2375f35400a351345b2fa849efdae0543.zip
Merge pull request #1389 from sever-sever/T4509
dns: T4509: Add dns64-prefix option
Diffstat (limited to 'data')
-rw-r--r--data/templates/dns-forwarding/recursor.conf.j25
1 files changed, 5 insertions, 0 deletions
diff --git a/data/templates/dns-forwarding/recursor.conf.j2 b/data/templates/dns-forwarding/recursor.conf.j2
index c1950e1bc..ce1b676d1 100644
--- a/data/templates/dns-forwarding/recursor.conf.j2
+++ b/data/templates/dns-forwarding/recursor.conf.j2
@@ -32,6 +32,11 @@ local-address={{ listen_address | join(',') }}
# dnssec
dnssec={{ dnssec }}
+{% if dns64_prefix is vyos_defined %}
+# dns64-prefix
+dns64-prefix={{ dns64_prefix }}
+{% endif %}
+
# serve rfc1918 records
serve-rfc1918={{ 'no' if no_serve_rfc1918 is vyos_defined else 'yes' }}