From 7d4ea7548a6710a5ef6b5b72ff54d362f5a7595d Mon Sep 17 00:00:00 2001 From: Till Brehm Date: Tue, 8 May 2018 14:55:23 +0200 Subject: [PATCH] Fixed#4220 [3.1-stable] importing DNS records, NS not imported and SOA NS field is wrong --- interface/web/dns/dns_import.php | 1 + 1 file changed, 1 insertion(+) diff --git a/interface/web/dns/dns_import.php b/interface/web/dns/dns_import.php index 405e437838..49c14185d0 100644 --- a/interface/web/dns/dns_import.php +++ b/interface/web/dns/dns_import.php @@ -606,6 +606,7 @@ if(isset($_FILES['file']['name']) && is_uploaded_file($_FILES['file']['tmp_name' $dns_rr[$r]['type'] = 'NS'; $dns_rr[$r]['data'] = $server['server_name']; $dns_rr[$r]['aux'] = 0; + $dns_rr[$r]['ttl'] = $soa['ttl']; $r++; } //print('
');
-- 
GitLab