summaryrefslogtreecommitdiff
path: root/templates/service/dns/forwarding/node.def
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2008-08-06 22:15:10 +0000
committerMohit Mehta <mohit.mehta@vyatta.com>2008-08-06 22:15:10 +0000
commitdc4d53c9eb42a6f9f27f0de762de85ce46b6f788 (patch)
treecf9a60ff7c6b31b239ad0b54ce164eb1fab65e04 /templates/service/dns/forwarding/node.def
parent0f78fcfe3c21e4d07b402aaae75bb494fc4e4133 (diff)
downloadvyatta-cfg-system-dc4d53c9eb42a6f9f27f0de762de85ce46b6f788.tar.gz
vyatta-cfg-system-dc4d53c9eb42a6f9f27f0de762de85ce46b6f788.zip
code to specify DNS forwarding nameservers (system, dhcp, explicitly specified) using CLI
Diffstat (limited to 'templates/service/dns/forwarding/node.def')
-rw-r--r--templates/service/dns/forwarding/node.def4
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/service/dns/forwarding/node.def b/templates/service/dns/forwarding/node.def
index f84e4f02..46dbd199 100644
--- a/templates/service/dns/forwarding/node.def
+++ b/templates/service/dns/forwarding/node.def
@@ -1,6 +1,4 @@
-help: Configure Domain Name Server (DNS) forwarding
-syntax:expression: exec "/opt/vyatta/sbin/vyatta-dns-forwarding.pl --nameserver"; "No nameserver exists to forward DNS queries"
-create:expression: "/opt/vyatta/sbin/vyatta-dns-forwarding.pl --init-dnsforwarding"
+help: Configure DNS forwarding
delete:expression: "touch /tmp/dnsmasq.$PPID"
end:expression: "if [ -f \"/tmp/dnsmasq.$PPID\" ]; then \
sudo /opt/vyatta/sbin/vyatta-dns-forwarding.pl --stop-dnsforwarding \