summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/dns-dynamic.xml.in24
1 files changed, 24 insertions, 0 deletions
diff --git a/op-mode-definitions/dns-dynamic.xml.in b/op-mode-definitions/dns-dynamic.xml.in
index 8f32f63f9..79478f392 100644
--- a/op-mode-definitions/dns-dynamic.xml.in
+++ b/op-mode-definitions/dns-dynamic.xml.in
@@ -1,5 +1,29 @@
<?xml version="1.0"?>
<interfaceDefinition>
+ <node name="clear">
+ <children>
+ <node name="dns">
+ <properties>
+ <help>Clear Domain Name System</help>
+ </properties>
+ <children>
+ <node name="dynamic">
+ <properties>
+ <help>Clear Dynamic DNS information</help>
+ </properties>
+ <children>
+ <leafNode name="cache">
+ <properties>
+ <help>Clear Dynamic DNS information cache (ddclient)</help>
+ </properties>
+ <command>sudo rm -f /run/ddclient/ddclient.cache</command>
+ </leafNode>
+ </children>
+ </node>
+ </children>
+ </node>
+ </children>
+ </node>
<node name="monitor">
<children>
<node name="log">