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?