diff options
author | Christian Breunig <christian@breunig.cc> | 2023-08-06 14:32:15 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-08-06 14:32:21 +0200 |
commit | 0d4a19b42d0f0c70cb3ec2119b3d8dbb67efdc75 (patch) | |
tree | 735c07bb2774550ec36c28b8444ca59489f82e04 /interface-definitions/dns-dynamic.xml.in | |
parent | 4bc6e6b60070f53910c23b9927a31d36f0dec507 (diff) | |
download | vyos-1x-0d4a19b42d0f0c70cb3ec2119b3d8dbb67efdc75.tar.gz vyos-1x-0d4a19b42d0f0c70cb3ec2119b3d8dbb67efdc75.zip |
dyndns: T5445: add possibility to specify update interval (timeout)
set service dns dynamic timeout <60-3600>
Diffstat (limited to 'interface-definitions/dns-dynamic.xml.in')
-rw-r--r-- | interface-definitions/dns-dynamic.xml.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/interface-definitions/dns-dynamic.xml.in b/interface-definitions/dns-dynamic.xml.in index c7b45b8f7..a0720f3aa 100644 --- a/interface-definitions/dns-dynamic.xml.in +++ b/interface-definitions/dns-dynamic.xml.in @@ -150,6 +150,20 @@ </tagNode> </children> </tagNode> + <leafNode name="timeout"> + <properties> + <help>Time in seconds to wait between DNS updates</help> + <valueHelp> + <format>u32:60-3600</format> + <description>Time in seconds</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 60-3600"/> + </constraint> + <constraintErrorMessage>Timeout must be between 60 and 3600 seconds</constraintErrorMessage> + </properties> + <defaultValue>300</defaultValue> + </leafNode> </children> </node> </children> |