summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-05-23 16:22:32 +0200
committerDaniil Baturin <daniil@baturin.org>2018-05-23 16:22:32 +0200
commit0dddc2e2eeec0b1afae2513c45fde9d798bd59b7 (patch)
tree02515fbc0645bdaa50d90078af625a370020571c /op-mode-definitions
parenta79b6babd9fc897799eb14fbfcaaf1e8f6cb94d5 (diff)
downloadvyos-1x-0dddc2e2eeec0b1afae2513c45fde9d798bd59b7.tar.gz
vyos-1x-0dddc2e2eeec0b1afae2513c45fde9d798bd59b7.zip
T603: add missing op mode command definition for "run reset dns forwarding all".
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/dns-forwarding.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/op-mode-definitions/dns-forwarding.xml b/op-mode-definitions/dns-forwarding.xml
index f753ca93d..b072fab79 100644
--- a/op-mode-definitions/dns-forwarding.xml
+++ b/op-mode-definitions/dns-forwarding.xml
@@ -57,6 +57,12 @@
<help>Reset DNS forwarding cache for a domain</help>
</properties>
</tagNode>
+ <leafNode name="all">
+ <command>${vyos_op_scripts_dir}/dns_forwarding_reset.py --all</command>
+ <properties>
+ <help>Reset DNS forwarding cache</help>
+ </properties>
+ </leafNode>
</children>
</node>
</children>