importing DNS records, NS missing

Discussion in 'General' started by saits1947, Oct 7, 2018.

  1. saits1947

    saits1947 New Member

    ISPconfig version: 3.1.2
    I created DNS records by ISPconfig to get the DNS zone file, and then I deleted the zone and try import function, finally the NS records in the zone are missing and error as "Writing BIND domain file failed: /var/named/pri.abc.com zone abc.com/IN: has no NS records zone abc.com/IN: not loaded due to errors.". Below is the zone file content:
    Code:
    $TTL        3600
    @       IN      SOA     ns1.def.com. test.test.com. (
                            2017032201       ; serial, todays date + todays serial #
                            7200              ; refresh, seconds
                            540              ; retry, seconds
                            604800              ; expire, seconds
                            3600 )            ; minimum, seconds
    ;
    
    abc.com. 3600      TXT        "v=spf1 mx a ~all"
    abc.com. 3600      MX    10   mail.abc.com.
    abc.com. 3600      NS        ns1.def.com.
    abc.com. 3600      NS        ns2.def.com.
    mail 3600 A        1.2.3.4
    www 3600 A        1.2.3.4
    abc.com. 3600 A        1.2.3.4
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    I just did a quick test with your zone file sample above, imported it in ISPConfig 3.1.13 and the NS records are there. You should update your ISPConfig to a recent version, your current version is nearly 2 years old.
     

Share This Page