Commit f74f4349 authored by Wolfgang Bumiller's avatar Wolfgang Bumiller Committed by Dietmar Maurer

DNS ui/api: ipv6 support

parent b33af6f4
......@@ -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'
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment