blob: e5d5af7e529dc1328c4a8bd47f5a978bae7042e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
priority: 400
type: txt
help: System domain name
# Allow letter-number-hyphen in label (but can not start or end with hyphen)
syntax:expression: pattern $VAR(@) "^[a-zA-Z0-9](([-a-zA-Z0-9]*[a-zA-Z0-9])?\.)*[a-zA-Z]+$" ; "invalid domain name $VAR(@)"
# also add localhost line into /etc/hosts (see host-name template)?
update: sudo /opt/vyatta/sbin/vyatta_update_resolv.pl
# also update localhost line in /etc/hosts (see host-name template)?
delete: sudo /opt/vyatta/sbin/vyatta_update_resolv.pl
|