summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-07-04 18:16:06 +0000
committerChristian Poessinger <christian@poessinger.com>2022-07-07 12:09:42 +0200
commit1577dc53f144d8a7c4438ca98a574102bea14c6b (patch)
tree37763e27fc7445e9058e40937cad2d0cb2d8a57c /interface-definitions
parentf315714d0c680ad80a79dcdac21576407794dcd1 (diff)
downloadvyos-1x-1577dc53f144d8a7c4438ca98a574102bea14c6b.tar.gz
vyos-1x-1577dc53f144d8a7c4438ca98a574102bea14c6b.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 (cherry picked from commit 2bdf4798570222b57af2de2f0b443529abdc3feb)
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/dns-forwarding.xml.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/interface-definitions/dns-forwarding.xml.in b/interface-definitions/dns-forwarding.xml.in
index 5b0c87597..5a824973a 100644
--- a/interface-definitions/dns-forwarding.xml.in
+++ b/interface-definitions/dns-forwarding.xml.in
@@ -36,6 +36,18 @@
<multi/>
</properties>
</leafNode>
+ <leafNode name="dns64-prefix">
+ <properties>
+ <help>Help to communicate between IPv6-only client and IPv4-only server</help>
+ <valueHelp>
+ <format>ipv6net</format>
+ <description>IPv6 address and /96 only prefix length</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv6-prefix"/>
+ </constraint>
+ </properties>
+ </leafNode>
<leafNode name="dnssec">
<properties>
<help>DNSSEC mode (default: process-no-validate)</help>