DNS not working

Discussion in 'General' started by HostOnNet, Dec 6, 2017.

  1. HostOnNet

    HostOnNet New Member

    I added DNS zone in ISPConfig > DNS, but domain is not resolving.

    I checked /var/named file, i can see file with .err extension with the zone data.

    Code:
    [[email protected] named]# nslookup vps7.ovh 54.37.55.240
    Server:        54.37.55.240
    Address:    54.37.55.240#53
    
    ** server can't find vps7.ovh.vps7.ovh: REFUSED
    
    [[email protected] named]# ls -la
    total 48
    drwxr-x---.  6 root  named 4096 Dec  6 16:04 .
    drwxr-xr-x. 23 root  root  4096 Dec  6 00:23 ..
    drwxrwx---.  2 named named 4096 Dec  6 00:22 data
    drwxrwx---.  2 named named 4096 Nov 30 14:29 dynamic
    -rw-r-----.  1 root  named 2281 May 22  2017 named.ca
    -rw-r-----.  1 root  named  152 Dec 15  2009 named.empty
    -rw-r-----.  1 root  named  152 Jun 21  2007 named.localhost
    -rw-r-----.  1 root  named  168 Dec 15  2009 named.loopback
    -rw-r--r--   1 named named  715 Dec  6 16:04 pri.hosthat.com.err
    -rw-r--r--   1 named named  683 Dec  6 15:50 pri.vps7.ovh.err
    drwxrws---.  2 named named 4096 Dec  6 00:23 slave
    drwxrwx---.  2 named named 4096 Nov 30 14:29 slaves
    [[email protected] named]# 
    Any idea why the zones are not creating ? Is there a log file where i can see the reason for creating zone file with .err extension ?
     
    Last edited: Dec 7, 2017
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The zones you added are incomplete or contain failures and are therefore rejected by BIND and saved with .err file ending. You can find the reason for that in the syslog or use the named-checkzone command to get the detailed error.
     
  3. HostOnNet

    HostOnNet New Member

    Thanks. Got it working by adding A record for ns1 and ns2, this happens if the domain you adding is using name servers under same domain.
     

Share This Page