diff options
Diffstat (limited to 'op-mode-definitions/dns-forwarding.xml')
-rw-r--r-- | op-mode-definitions/dns-forwarding.xml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/op-mode-definitions/dns-forwarding.xml b/op-mode-definitions/dns-forwarding.xml index 3d7483641..f753ca93d 100644 --- a/op-mode-definitions/dns-forwarding.xml +++ b/op-mode-definitions/dns-forwarding.xml @@ -25,6 +25,9 @@ <node name="restart"> <children> <node name="dns"> + <properties> + <help>Restart a DNS service</help> + </properties> <children> <leafNode name="forwarding"> <properties> @@ -36,4 +39,28 @@ </node> </children> </node> + <node name="reset"> + <children> + <node name="dns"> + <properties> + <help>Reset a DNS service state</help> + </properties> + <children> + <node name="forwarding"> + <properties> + <help>Reset DNS forwarding cache</help> + </properties> + <children> + <tagNode name="domain"> + <command>${vyos_op_scripts_dir}/dns_forwarding_reset.py $5</command> + <properties> + <help>Reset DNS forwarding cache for a domain</help> + </properties> + </tagNode> + </children> + </node> + </children> + </node> + </children> + </node> </interfaceDefinition> |