Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
lolo888
ISPConfig 3
Commits
9ae40336
Commit
9ae40336
authored
Sep 16, 2010
by
tbrehm
Browse files
Changed max. length for PTR records from 64 to 255 chars.
parent
cafdec2a
Changes
2
Hide whitespace changes
Inline
Side-by-side
install/sql/ispconfig3.sql
View file @
9ae40336
...
...
@@ -202,7 +202,7 @@ CREATE TABLE `dns_rr` (
`sys_perm_other`
varchar
(
5
)
NOT
NULL
,
`server_id`
int
(
11
)
NOT
NULL
default
'1'
,
`zone`
int
(
11
)
unsigned
NOT
NULL
,
`name`
varchar
(
64
)
NOT
NULL
,
`name`
varchar
(
255
)
NOT
NULL
,
`type`
enum
(
'A'
,
'AAAA'
,
'ALIAS'
,
'CNAME'
,
'HINFO'
,
'MX'
,
'NAPTR'
,
'NS'
,
'PTR'
,
'RP'
,
'SRV'
,
'TXT'
)
default
NULL
,
`data`
varchar
(
255
)
NOT
NULL
,
`aux`
int
(
11
)
unsigned
NOT
NULL
default
'0'
,
...
...
interface/web/dns/form/dns_ptr.tform.php
View file @
9ae40336
...
...
@@ -78,7 +78,7 @@ $form["tabs"]['dns'] = array (
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'TEXT'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'REGEX'
,
'regex'
=>
'/^[\w\.\-]{1,6
4
}$/'
,
'regex'
=>
'/^[\w\.\-]{1,
25
6}$/'
,
'errmsg'
=>
'name_error_regex'
),
),
'default'
=>
''
,
...
...
@@ -100,7 +100,7 @@ $form["tabs"]['dns'] = array (
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'NOTEMPTY'
,
'errmsg'
=>
'data_error_empty'
),
1
=>
array
(
'type'
=>
'REGEX'
,
'regex'
=>
'/^[\w\.\-]{1,6
4
}$/'
,
'regex'
=>
'/^[\w\.\-]{1,
25
6}$/'
,
'errmsg'
=>
'data_error_regex'
),
),
'default'
=>
''
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment