DNS resync automatisation

Discussion in 'Developers' Forum' started by mBull, Mar 4, 2012.

  1. mBull

    mBull New Member

    When you use the API to add dns-zones and records, you still need to go to:
    tools > resync DNS

    we used incron to do an update after the zone files are changed but it looks like the serial isn't updated until resync DNS is done manualy.
    Is there an API to do this, can't seem to find it?
    or is there an other way

    thanks in advance
  2. Franz

    Franz Member

    update serial manualy
    serial = serial + 1
    for dns record and dnszone and iz works ;)
  3. mBull

    mBull New Member

    That's a solutions I was thinking of aswell but I hoped ISPconfig had an API for it
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    ISPConfig has an API to update DNS records and you are using it already, but its a low level API that allows you to control all values. So if you add a dns record you have to pass valid values andif you update a dns record and pass the same serail to the dns update function again, you instruct the dns server to not update the serial.

Share This Page