summaryrefslogtreecommitdiff
path: root/interface-definitions/include/dns
diff options
context:
space:
mode:
authorLucas Christian <lucas@lucasec.com>2021-10-07 20:41:02 -0700
committerLucas Christian <lucas@lucasec.com>2021-10-12 22:33:38 -0700
commit36e5f07f8dda51cc5bb0a105077e751f1c851435 (patch)
tree0c02c0746360525f73ceeec30d06905bbb9f4e04 /interface-definitions/include/dns
parent044e9dc8bc7e3d946b0ba1f1edfe06b5323aeadd (diff)
downloadvyos-1x-36e5f07f8dda51cc5bb0a105077e751f1c851435.tar.gz
vyos-1x-36e5f07f8dda51cc5bb0a105077e751f1c851435.zip
T562: Config syntax for defining DNS forward authoritative zones
Diffstat (limited to 'interface-definitions/include/dns')
-rw-r--r--interface-definitions/include/dns/time-to-live.xml.i15
1 files changed, 15 insertions, 0 deletions
diff --git a/interface-definitions/include/dns/time-to-live.xml.i b/interface-definitions/include/dns/time-to-live.xml.i
new file mode 100644
index 000000000..5c1a1472d
--- /dev/null
+++ b/interface-definitions/include/dns/time-to-live.xml.i
@@ -0,0 +1,15 @@
+<!-- include start from dns/time-to-live.xml.i -->
+<leafNode name="ttl">
+ <properties>
+ <help>Time-to-live (TTL)</help>
+ <valueHelp>
+ <format>u32:0-2147483647</format>
+ <description>TTL in seconds</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 0-2147483647"/>
+ </constraint>
+ </properties>
+ <defaultValue>300</defaultValue>
+</leafNode>
+<!-- include end -->