summaryrefslogtreecommitdiff
path: root/templates/service/dns/forwarding/dhcp/node.def
blob: 245981293d0ceb636112e5c7d12dea2870f51d68 (plain)
1
2
3
4
5
6
7
8
9
multi:
type: txt
help: Set to forward DNS queries to nameservers received from DHCP server for specified interface
syntax:expression: exec "/opt/vyatta/sbin/vyatta-dns-forwarding.pl --dhcp-interface $VAR(@)"
commit:expression: exec "/opt/vyatta/sbin/vyatta-dns-forwarding.pl --dhcp-interface-nameserver $VAR(@)"
allowed:
         local -a array ;
         array=( /var/lib/dhcp3/eth* ) ;
         echo  -n ${array[@]##*/}