These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for How to integrate with a third party DNS API? on the new forum.
Hi Everyone,
I would like to use a third party name server to manage my DNS. For example Vultr. They provide an API to update the DNS records.
https://www.vultr.com/api/#dns
How would I intercept a DNS record update in VirtualMin to run some code that will call the API?
I think I will need to write some plugins - for example vultrdns-update and vultrdns-delete - that can be run from the command line. As well as intercepting virtual derver updates to do an update or delete.
Does anyone have any tips on where to start looking please?
Thanks
As an addition, BuddyNS have a script that supposedly integrates with VirtualMin and they will manange your DNS externally.
https://www.buddyns.com/support/setup/zone-transfer/free/
https://www.lexo.ch/blog/2016/12/howto-setting-up-virtualmin-with-buddyn...
On the Buddydns side of things, no api or other software is needed. buddydns is providing a secondary dns. Is this case, all that happens is you tell your main dns server to send all updates to buddydns's secondary servers. Thats just a setting in bind, although it can be configured via webmin. Actually Any secondary dns can be done like this. I actually use he.net's secondary service. Very simple setup.