2 title
: L
.tr('Hostnames'),
3 description
: L
.tr('Manage static host records to let the local DNS server resolve certain names to specific IP addresses.'),
6 var m
= new L
.cbi
.Map('dhcp', {
7 readonly
: !this.options
.acls
.hostnames
10 var s
= m
.section(L
.cbi
.TableSection
, 'domain', {
13 add_caption
: L
.tr('Add new hostname'),
14 remove_caption
: L
.tr('Remove hostname')
17 s
.option(L
.cbi
.InputValue
, 'name', {
18 caption
: L
.tr('Hostname'),
22 s
.option(L
.cbi
.InputValue
, 'ip', {
23 caption
: L
.tr('IP address'),
27 return m
.insertInto('#map');