Skip to content

Commit 7d4ea75

Browse files
author
Till Brehm
committed
Fixed#4220 [3.1-stable] importing DNS records, NS not imported and SOA NS field is wrong
1 parent a9060e0 commit 7d4ea75

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

interface/web/dns/dns_import.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -606,6 +606,7 @@
606606
$dns_rr[$r]['type'] = 'NS';
607607
$dns_rr[$r]['data'] = $server['server_name'];
608608
$dns_rr[$r]['aux'] = 0;
609+
$dns_rr[$r]['ttl'] = $soa['ttl'];
609610
$r++;
610611
}
611612
//print('<pre>');

0 commit comments

Comments
 (0)