How to integrate with a third party DNS API?

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

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.

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

Wed, 07/24/2019 - 20:42
geofftech

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...

Sun, 11/03/2019 - 14:07
Olegtorpeda

I also care about this question, maybe there are experts who can help me in solving the problem, I want to use this site, which recommendations you will give. I think that you can trust them resumeedge.com

Mon, 11/04/2019 - 10:29
scotwnw

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.