summaryrefslogtreecommitdiff
path: root/templates/clear/dns
diff options
context:
space:
mode:
Diffstat (limited to 'templates/clear/dns')
-rw-r--r--templates/clear/dns/forwarding/cache/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/clear/dns/forwarding/cache/node.def b/templates/clear/dns/forwarding/cache/node.def
index 8211e12..8a5f8cc 100644
--- a/templates/clear/dns/forwarding/cache/node.def
+++ b/templates/clear/dns/forwarding/cache/node.def
@@ -2,7 +2,7 @@ help: Clear DNS forwarding cache
run:
if ps ax | grep dnsmasq | grep -v grep > /dev/null
then
- kill -1 `pidof dnsmasq`
+ sudo /opt/vyatta/bin/sudo-users/vyatta-op-dns-forwarding.pl --clear-cache
else
echo "DNS forwarding not configured"
fi