Secondary DNS not working

Discussion in 'ISPConfig 3 Priority Support' started by jpcyrenne, Apr 1, 2018.

  1. jpcyrenne

    jpcyrenne Member HowtoForge Supporter

    Good day,
    Not sure if it's from an update (yum update), but my NS2 server is not working anymore.

    I had followed this on CentOS a while back... (about 3 years ago)
    https://www.howtoforge.com/how-to-r...-secondary-with-ispconfig-3-debian-squeeze-p2

    Server1 :
    ISPConfig Version: 3.0.5.4p3
    # cat /etc/redhat-release
    CentOS release 6.7 (Final)

    Server2 :
    Pretty sure it's same version - ISPConfig Version: 3.0.5.4p3
    # cat /etc/redhat-release
    CentOS release 6.9 (Final)

    If I dig @ns1 I get the right stuff. If I dig @ns2 i get empty records (with old sites that should work).
    dig @dns1.hostinpowers.com any www.jtan.ca
    dig @dns2.hostinpowers.com any www.jtan.ca

    To be honest, I'm kinda scared to touch anything (upgrade ISPConfig or update Server 1 'yum update' and lose it all).

    What can I check? (i don't see a mysql slave run on NS2 server for example).
    What's the job that syncs the two DB? What is the table on NS2 I could look at to see if there's data ?

    Thanks in advance,
    JP
     
  2. jpcyrenne

    jpcyrenne Member HowtoForge Supporter

    I see the zones in /var/named/ and I restarted the service on NS2 with no success.
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Try to query the dns server locally on the shell of ns2 with the dig command:

    dig @localhost yourdomain.tld

    does this work? And check the log files for errors from BIND / Named.
     

Share This Page