summaryrefslogtreecommitdiff
path: root/templates/service/dns/forwarding/node.def
blob: 46dbd1999753a143997a20baaa27f61fc9214cc1 (plain)
1
2
3
4
5
6
7
8
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 \
        rm /tmp/dnsmasq.$PPID; \
      else \
        sudo /opt/vyatta/sbin/vyatta-dns-forwarding.pl --update-dnsforwarding; \
      fi; "