Forcing update of bind tables

Discussion in 'Installation/Configuration' started by catdude, Aug 20, 2007.

  1. catdude

    catdude ISPConfig Developer ISPConfig Developer

    I believe I've run into a situation of my bind tables on disk not accurately reflecting the CNAME and MX information in ISPConfig. I'd like to be able to flush all the DNS info out to disk to make sure they are up to date.

    If I was to execute the following SQL:

    update dns_nodes set status = 'u' where status = '';

    then make a change to a DNS entry, would this accomplish that task?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    If you want to update existing DNS files, run the sql command:

    update isp_dns_isp set status = 'u' where status = '';

    If you deleted the config files and ISPConfig shall write new files, execute the command:

    update isp_dns_isp set status = 'n' where status = '';
     
  3. catdude

    catdude ISPConfig Developer ISPConfig Developer

    I don't seem to have that table in my database. Perhaps that table was added in a later release? I'm running 2.2.13.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    I'am sorry. I totally mixed up the name. The database table is named dns_isp_dns and not isp_dns_isp :)
     
  5. catdude

    catdude ISPConfig Developer ISPConfig Developer

    Cool, thanks!
     

Share This Page