summaryrefslogtreecommitdiff
path: root/templates/clear/dns/forwarding/cache/node.def
blob: 8211e125ab435b2d744216e178d6df92aa33498b (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
            kill -1 `pidof dnsmasq`
        else
            echo "DNS forwarding not configured"
        fi