DNS ui/api: ipv6 support
This commit is contained in:
parent
b33af6f42e
commit
f74f4349bd
@ -883,17 +883,17 @@ __PACKAGE__->register_method({
|
||||
},
|
||||
dns1 => {
|
||||
description => 'First name server IP address.',
|
||||
type => 'string', format => 'ipv4',
|
||||
type => 'string', format => 'ip',
|
||||
optional => 1,
|
||||
},
|
||||
dns2 => {
|
||||
description => 'Second name server IP address.',
|
||||
type => 'string', format => 'ipv4',
|
||||
type => 'string', format => 'ip',
|
||||
optional => 1,
|
||||
},
|
||||
dns3 => {
|
||||
description => 'Third name server IP address.',
|
||||
type => 'string', format => 'ipv4',
|
||||
type => 'string', format => 'ip',
|
||||
optional => 1,
|
||||
},
|
||||
},
|
||||
|
@ -20,21 +20,21 @@ Ext.define('PVE.node.DNSEdit', {
|
||||
{
|
||||
xtype: 'pvetextfield',
|
||||
fieldLabel: gettext('DNS server') + " 1",
|
||||
vtype: 'IPAddress',
|
||||
vtype: 'IP64Address',
|
||||
skipEmptyText: true,
|
||||
name: 'dns1'
|
||||
},
|
||||
{
|
||||
xtype: 'pvetextfield',
|
||||
fieldLabel: gettext('DNS server') + " 2",
|
||||
vtype: 'IPAddress',
|
||||
vtype: 'IP64Address',
|
||||
skipEmptyText: true,
|
||||
name: 'dns2'
|
||||
},
|
||||
{
|
||||
xtype: 'pvetextfield',
|
||||
fieldLabel: gettext('DNS server') + " 3",
|
||||
vtype: 'IPAddress',
|
||||
vtype: 'IP64Address',
|
||||
skipEmptyText: true,
|
||||
name: 'dns3'
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user