summaryrefslogtreecommitdiff
path: root/templates/reset/dns/forwarding/cache/node.def
blob: 9e1a610d0085557bc7db13cb57f273e5e8101c9d (plain)
1
2
3
4
5
6
7
8
help: Reset DNS forwarding cache
run:
        if ps ax | grep dnsmasq | grep -v grep > /dev/null
        then
            sudo /opt/vyatta/bin/sudo-users/vyatta-op-dns-forwarding.pl --clear-cache
        else
            echo "DNS forwarding not configured"
        fi