summaryrefslogtreecommitdiff
path: root/templates/service/dns/forwarding/dhcp/node.def
blob: c9167431986c617df13d36f0c823957675512358 (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* /var/lib/dhcp3/br* ) ;
         echo  -n ${array[@]##*/}