Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dirk Dankhoff
ISPConfig 3
Commits
8a77a74e
Commit
8a77a74e
authored
Aug 23, 2015
by
Marius Cramer
Browse files
Merge branch 'master' into 'master'
vm: use type AAAA for ipv6 in createDNS See merge request
!220
parents
98d600f4
349272c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/lib/plugins/vm_openvz_plugin.inc.php
View file @
8a77a74e
...
...
@@ -252,7 +252,7 @@ class vm_openvz_plugin {
"server_id"
=>
$server_id
,
"zone"
=>
$dns_soa_id
,
"name"
=>
$hostname
,
"type"
=>
'
A'
,
"type"
=>
@
(
preg_match
(
"/^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)
\\
.)
{
3
}
(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/"
,
$ip_address
))
?
'A'
:
'AAA
A'
,
"data"
=>
$ip_address
,
"aux"
=>
'0'
,
"ttl"
=>
'3600'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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