diff options
Diffstat (limited to 'templates/clear/dns')
-rw-r--r-- | templates/clear/dns/forwarding/cache/node.def | 8 | ||||
-rw-r--r-- | templates/clear/dns/forwarding/node.def | 1 | ||||
-rw-r--r-- | templates/clear/dns/node.def | 1 |
3 files changed, 10 insertions, 0 deletions
diff --git a/templates/clear/dns/forwarding/cache/node.def b/templates/clear/dns/forwarding/cache/node.def new file mode 100644 index 0000000..8211e12 --- /dev/null +++ b/templates/clear/dns/forwarding/cache/node.def @@ -0,0 +1,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 diff --git a/templates/clear/dns/forwarding/node.def b/templates/clear/dns/forwarding/node.def new file mode 100644 index 0000000..3cc321c --- /dev/null +++ b/templates/clear/dns/forwarding/node.def @@ -0,0 +1 @@ +help: Clear DNS forwarding variables diff --git a/templates/clear/dns/node.def b/templates/clear/dns/node.def new file mode 100644 index 0000000..bca966e --- /dev/null +++ b/templates/clear/dns/node.def @@ -0,0 +1 @@ +help: Clear Domain Name Server (DNS) variables |