summaryrefslogtreecommitdiff
path: root/templates/clear/dns/forwarding/cache/node.def
blob: 8a5f8cc932c00be8b422135137c8edaacaa45872 (plain)
1
2
3
4
5
6
7
8
help: Clear 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