named /etc/named.conf:44: open: /etc/named.conf.local: file not found

Discussion in 'Installation/Configuration' started by postcd, Oct 4, 2019.

  1. postcd

    postcd New Member

    Hi,
    after i installed ISPConfig (ISPConfig Version: 3.1.15) on CentOS 6.10 64bit, and added DNS zones + domain names, i see the server is not responding to remote DNS queries.

    # rpm -qa|grep bind
    # service named status
    # service named start
    ISPConfig shows fake DNS-server status "Online" on Monitor / Show Services. (can anyone fix it?)

    System / Server Config / DNS shows:
    Bind user: named
    Bind goupd: named
    Zonefiles dir: /var/named/chroot/var/named/
    Named.conf path: /var/named/chroot/etc/named.conf

    cat /var/named/chroot/etc/named.conf
    # cat /var/named/chroot/var/named/named.local
    cat /etc/named.conf
    see the output here please

    # locate named.conf
    When i searched for files matching the domain name i added, it only found .err file in /var/named/chroot/var/named/
    Re-adding DNS zone does not help.
    But for the second domain i added it found number of files.

    When i edit /etc/named.conf and comment out include "/etc/named.conf.local" and instead use "/var/named/chroot/var/named/named.local", the named starts and shows status:
    But tools like http://dig.ping.pe still shows that no domain A record is resolved (timeout). Please what to try?
     
    Last edited: Oct 4, 2019

Share This Page