Skip to content
Snippets Groups Projects
Commit 7d4ea754 authored by Till Brehm's avatar Till Brehm
Browse files

Fixed#4220 [3.1-stable] importing DNS records, NS not imported and SOA NS field is wrong

parent a9060e0b
No related branches found
No related tags found
No related merge requests found
...@@ -606,6 +606,7 @@ if(isset($_FILES['file']['name']) && is_uploaded_file($_FILES['file']['tmp_name' ...@@ -606,6 +606,7 @@ if(isset($_FILES['file']['name']) && is_uploaded_file($_FILES['file']['tmp_name'
$dns_rr[$r]['type'] = 'NS'; $dns_rr[$r]['type'] = 'NS';
$dns_rr[$r]['data'] = $server['server_name']; $dns_rr[$r]['data'] = $server['server_name'];
$dns_rr[$r]['aux'] = 0; $dns_rr[$r]['aux'] = 0;
$dns_rr[$r]['ttl'] = $soa['ttl'];
$r++; $r++;
} }
//print('<pre>'); //print('<pre>');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment