priority: 400
type: txt
help: System domain name

# Allow letter-number-hyphen in label (but can not start or end with hyphen)
syntax:expression: exec "/opt/vyatta/sbin/vyatta_check_domainname.pl $VAR(../host-name).$VAR(@)"

update: sudo /opt/vyatta/sbin/vyatta_update_resolv.pl
        sudo /opt/vyatta/sbin/vyatta_update_hosts.pl --no-restart-services

delete: sudo /opt/vyatta/sbin/vyatta_update_resolv.pl
        sudo /opt/vyatta/sbin/vyatta_update_hosts.pl --no-restart-services