diff options
author | Christian Breunig <christian@breunig.cc> | 2024-02-01 21:21:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-01 21:21:17 +0100 |
commit | 176a79420c5bf676b0f857a169a9b9c3906ee0c0 (patch) | |
tree | 4dd9eb9f5322f7e8bb0ae970e0ace6dab7b0880e /op-mode-definitions/dns-dynamic.xml.in | |
parent | a93491acfca90ac910a235d03ca8e93830c98c12 (diff) | |
parent | 323994ed0fc40b67a0aa7c839229864ccb6b0e33 (diff) | |
download | vyos-1x-176a79420c5bf676b0f857a169a9b9c3906ee0c0.tar.gz vyos-1x-176a79420c5bf676b0f857a169a9b9c3906ee0c0.zip |
Merge pull request #2860 from indrajitr/ddclient-update-20240119
ddclient: T5966: Adjust dynamic dns config address subpath
Diffstat (limited to 'op-mode-definitions/dns-dynamic.xml.in')
-rw-r--r-- | op-mode-definitions/dns-dynamic.xml.in | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/op-mode-definitions/dns-dynamic.xml.in b/op-mode-definitions/dns-dynamic.xml.in index 79478f392..45d58e2e8 100644 --- a/op-mode-definitions/dns-dynamic.xml.in +++ b/op-mode-definitions/dns-dynamic.xml.in @@ -4,7 +4,7 @@ <children> <node name="dns"> <properties> - <help>Clear Domain Name System</help> + <help>Clear Domain Name System (DNS) related service state</help> </properties> <children> <node name="dynamic"> @@ -30,7 +30,7 @@ <children> <node name="dns"> <properties> - <help>Monitor last lines of Domain Name System related services</help> + <help>Monitor last lines of Domain Name System (DNS) related services</help> </properties> <children> <node name="dynamic"> @@ -51,7 +51,7 @@ <children> <node name="dns"> <properties> - <help>Show log for Domain Name System related services</help> + <help>Show log for Domain Name System (DNS) related services</help> </properties> <children> <node name="dynamic"> @@ -66,7 +66,7 @@ </node> <node name="dns"> <properties> - <help>Show Domain Name System related information</help> + <help>Show Domain Name System (DNS) related information</help> </properties> <children> <node name="dynamic"> @@ -78,7 +78,7 @@ <properties> <help>Show Dynamic DNS status</help> </properties> - <command>sudo ${vyos_op_scripts_dir}/dns_dynamic.py --status</command> + <command>sudo ${vyos_op_scripts_dir}/dns.py show_dynamic_status</command> </leafNode> </children> </node> @@ -90,34 +90,31 @@ <children> <node name="dns"> <properties> - <help>Restart specific Domain Name System related service</help> + <help>Restart specific Domain Name System (DNS) related service</help> </properties> <children> <node name="dynamic"> <properties> <help>Restart Dynamic DNS service</help> </properties> - <command>sudo ${vyos_op_scripts_dir}/dns_dynamic.py --update</command> + <command>if cli-shell-api existsActive service dns dynamic; then sudo systemctl restart ddclient.service; else echo "Dynamic DNS not configured"; fi</command> </node> </children> </node> </children> </node> - <node name="update"> - <properties> - <help>Update data for a service</help> - </properties> + <node name="reset"> <children> <node name="dns"> <properties> - <help>Update Domain Name System related information</help> + <help>Reset Domain Name System (DNS) related service state</help> </properties> <children> <node name="dynamic"> <properties> - <help>Update Dynamic DNS information</help> + <help>Reset Dynamic DNS information</help> </properties> - <command>sudo ${vyos_op_scripts_dir}/dns_dynamic.py --update</command> + <command>sudo ${vyos_op_scripts_dir}/dns.py reset_dynamic</command> </node> </children> </node> |