diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-07-04 18:16:06 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-07-05 10:05:44 +0000 |
commit | 2bdf4798570222b57af2de2f0b443529abdc3feb (patch) | |
tree | 6c6415598e41eb0686a9d0fc0225b631ab867935 /data/templates | |
parent | 7a09c9d4b3d74fd0c953f9f097ffecf4af8683d3 (diff) | |
download | vyos-1x-2bdf4798570222b57af2de2f0b443529abdc3feb.tar.gz vyos-1x-2bdf4798570222b57af2de2f0b443529abdc3feb.zip |
dns: T4509: Add dns64-prefix option
rfc6147: DNS Extensions for Network Address Translation
from IPv6 Clients to IPv4 Servers
set service dns forwarding dns64-prefix 2001:db8:aabb::/96
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/dns-forwarding/recursor.conf.j2 | 5 |
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' }} |