How to integrate with a third party DNS API?

3 posts / 0 new
Last post
#1 Tue, 07/23/2019 - 08:03

How to integrate with a third party DNS API?

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.

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?


Wed, 07/24/2019 - 20:42

As an addition, BuddyNS have a script that supposedly integrates with VirtualMin and they will manange your DNS externally.

Mon, 11/04/2019 - 10:29

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's secondary service. Very simple setup.

Topic locked