HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Developers' Forum (http://www.howtoforge.com/forums/forumdisplay.php?f=33)
-   -   DNS resync automatisation (http://www.howtoforge.com/forums/showthread.php?t=56427)

mBull 4th March 2012 17:49

DNS resync automatisation
 
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

Franz 5th March 2012 07:32

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

mBull 5th March 2012 21:39

Quote:

Originally Posted by Franz (Post 274835)
update serial manualy
serial = serial + 1
for dns record and dnszone and iz works ;)

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

till 6th March 2012 09:56

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.


All times are GMT +2. The time now is 22:50.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.