summaryrefslogtreecommitdiff
path: root/op-mode-definitions/dns-dynamic.xml
diff options
context:
space:
mode:
Diffstat (limited to 'op-mode-definitions/dns-dynamic.xml')
-rw-r--r--op-mode-definitions/dns-dynamic.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/op-mode-definitions/dns-dynamic.xml b/op-mode-definitions/dns-dynamic.xml
index 2948e68d7..9c37874fb 100644
--- a/op-mode-definitions/dns-dynamic.xml
+++ b/op-mode-definitions/dns-dynamic.xml
@@ -38,6 +38,20 @@
</node>
</children>
</node>
+ <node name="restart">
+ <children>
+ <node name="dns">
+ <children>
+ <node name="dynamic">
+ <properties>
+ <help>Restart Dynamic DNS service</help>
+ </properties>
+ <command>sudo ${vyos_op_scripts_dir}/dynamic_dns.py --update</command>
+ </node>
+ </children>
+ </node>
+ </children>
+ </node>
<node name="update">
<properties>
<help>Update data for a service</help>