summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorIndrajit Raychaudhuri <irc@indrajit.com>2023-09-21 22:04:15 -0500
committerIndrajit Raychaudhuri <irc@indrajit.com>2023-09-23 18:23:32 -0500
commit35e88be03f013e0ae240b6ec9b73fdd8d36ed75e (patch)
tree0a731453623b999ed49a0040e7f92d1ce7121814 /interface-definitions/include
parent9bb46a470ca372ca13acca789c14aaa114a19e0f (diff)
downloadvyos-1x-35e88be03f013e0ae240b6ec9b73fdd8d36ed75e.tar.gz
vyos-1x-35e88be03f013e0ae240b6ec9b73fdd8d36ed75e.zip
ddclient: T5612: Refactor zone configuration
Refactor zone configuration to use shared XML snippet for all cases.
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/dns/dynamic-service-zone.xml.i14
1 files changed, 14 insertions, 0 deletions
diff --git a/interface-definitions/include/dns/dynamic-service-zone.xml.i b/interface-definitions/include/dns/dynamic-service-zone.xml.i
new file mode 100644
index 000000000..0cc00468f
--- /dev/null
+++ b/interface-definitions/include/dns/dynamic-service-zone.xml.i
@@ -0,0 +1,14 @@
+<!-- include start from dns/dynamic-service-zone.xml.i -->
+<leafNode name="zone">
+ <properties>
+ <help>DNS zone to be updated</help>
+ <valueHelp>
+ <format>txt</format>
+ <description>Name of DNS zone</description>
+ </valueHelp>
+ <constraint>
+ <validator name="fqdn"/>
+ </constraint>
+ </properties>
+</leafNode>
+<!-- include end -->