Dns-Bind multiple zones modification

Discussion in 'General' started by spokke, Oct 17, 2011.

  1. spokke

    spokke New Member

    Hi,

    i've 2 ispconfig up and runnig, i need to modify the TTL value of all the dns zones managed by my 2 ispconfig servers, if i modify the ttl value inside the mysql the bind zones files doesn't changes, how can i do a multiple modification on the db and zones files correctly?

    Tanks

    Spokke
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You have to set the database field status to 'u' in the zones where you modified the ttl.
     
  3. spokke

    spokke New Member

    Hi,

    i don't find the field "status" in the dns_rr table...

    thanks

    Spokke
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

  5. spokke

    spokke New Member

    Thanks but I think that this is not the solution to my problem: (

    I think I have omitted some important information:
    1. The two servers are not master / slave but a standalone
    2. each server has its DNS services, mail, web ect ...
    3. I think the sync tools you suggested are not suitable to my problem, most are not even present in the ispconfig installation directory on the servers.

    ispconfig version is 3.0.3.3

    many thanks for your patience: D

    Spokke
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    This was the solution :)

    1) Good to know. But for this makes no difference for the sync tools.
    2+3) The dns sync tools are suitable and will work for your problem.
     
  7. spokke

    spokke New Member

    IT WORKS!

    I performed these steps:

    1. downloaded ispconfig via svn , copied the files as you suggested in the post

    2. logout and re-login ispconfig panel, appeared the new entry under "tools"

    3. using PHPMyAdmin I've changed the values ​​of ttl running "update dns_soa set ttl = 28800 where ttl = 3600" on the ispconfig db

    4. I've run the Resync menu and....

    ..after a few seconds the bind zones files have been changed correctly :D

    Many thanks for your help and many compliments for the wonderful job you did with ispconfig!

    Spk
     

Share This Page