importing DNS records, NS missing

Discussion in 'General' started by hkendusers, Mar 22, 2017.

  1. hkendusers

    hkendusers 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/ zone has no NS records zone not loaded due to errors.". Below is the zone file content:

    $TTL        3600
    @       IN      SOA (
                            2017032201       ; serial, todays date + todays serial #
                            7200              ; refresh, seconds
                            540              ; retry, seconds
                            604800              ; expire, seconds
                            3600 )            ; minimum, seconds
    ; 3600      TXT        "v=spf1 mx a ~all" 3600      MX    10 3600      NS 3600      NS
    mail 3600 A
    www 3600 A 3600 A
  2. hkendusers

    hkendusers New Member

    Can anyone help?
  3. Jesse Norell

    Jesse Norell Well-Known Member

    I've never used that zone import feature, sorry. If you have a recent ispconfig manual, see what it says for that section; the NS records are obviously there, so it must be getting stripped out/replaced or something.
  4. ahrasis

    ahrasis Member

    Have you made a dns / full resync afterwards? I normally do that when changes are made to dns zone files manually. May be that could help?
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Are the ns records missing just in the zone file, or are they missing also in the list of records of that zone that you see in the ISPConfig interface?
  6. hkendusers

    hkendusers New Member

    Thanks till,

    They are missing both in zone file and also in ISPConfig interface, you may check screenshots below.
    To duplicate the problem, you can simply copy the zone file content in my first thread above, and then save it as , and then import it to ISPConfig

    screenshot.32.jpg screenshot.33.jpg

Share This Page