DNS Zone files not updateing.

Discussion in 'General' started by tomg, Apr 28, 2010.

  1. tomg

    tomg New Member

    Hi,

    I'm running ISPConfig 2.2.35 on Centos 5.4. It has been working fine. Yesterday things looked to be working fine. But now today the zone files for DNS are not getting updated.

    If I go in to say DNS Manager and add an "A" record the zone file is not updated. However the record does show in the ISPConfig view. (Even if I log out and log in again).
    So from ISPconfig things looks correct but the zone file is missing the "A" record.

    If I add a new site with a new domain and I have the "Create DNS" ticked the site is created but no zone file is created.

    If I add a new site and an existing domain and "Create DNS" is checked again the site is created but the zone file is not updated.

    I have checked the permissions of the directory containing the Zone files and the zone files them selves and they look good to me.

    I can't see anything in the ispconfig.log to show what the problem is.

    Are there other places I can look to identify the problem.


    Tom.
     
  2. createch

    createch New Member

    Please go to Management > Server Settings > DNS to check whether the following default values are still in effect:

    named.conf:
    /var/named/chroot/etc/named.conf

    Zonefiles Dir.:
    /var/named/chroot/var/named
     
  3. tomg

    tomg New Member

    Well the settings are /etc/named.conf and /etc/bind but there are symbolic links the end up in the corrrect place.

    It looks like the problem is intermittent. I need to do more research in to when it updates the zone files. It looks to me like delteing a site does not remove the entry from the DNS.

    Tom.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Any errors in the file /home/admispconfig/ispconfig/ispconfig.log?
     
  5. tomg

    tomg New Member

    No no errors or clues in there. Things seem to be working again now however I have found that if I create a new site the DNS Zone file is updated. However, If I then delete the site it is not removed from the DNS Zone file. (Even after I empty the recyle bin)

    t.
     
  6. falko

    falko Super Moderator Howtoforge Staff

    That's how it's supposed to be - deleting a site doesn't necessarily mean you also want to delete the zone. If you want to delete the zone as well, you must do this in the DNS Manager.
     

Share This Page