Massive DNS update on one ISPConfig Server

Discussion in 'General' started by themark, Jan 29, 2015.

  1. themark

    themark Member

    Dear,

    we need to update massively all the DNS record of all the domain that point on a ISPConfig Server.
    Basically this occur because we need to move one ISPConfig Server from an ip to another.

    What's is the best way to do that?
    We can do it directly from database, with a simple query (this will update the DNS zone???) or via API is better?

    Thank you.
     
  2. florian030

    florian030 Well-Known Member HowtoForge Supporter

    I would do this with a mysql-query instead of writing some lines of php-code.
     
  3. themark

    themark Member

    Yes, but my question is.
    If I update the DNS record from database with a query, after the ISPCONFIG, will took this new record and update the bind zone???

    :)
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    1) Modify the record with sql in the database.
    2) Login to ispconfig, go to tools > resync, select dns and start the rsync. This will rewrite all dns zones based on the data from mysql database.
     
    spanish likes this.
  5. themark

    themark Member

    Thank you till, next week I will try!
     

Share This Page