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