Cloud DNS with cloudns

We’ve used cloudns.net as a secondary, but outward facing resolver to virtualmin/bind for quite some time. With the cloud DNS support I’ve seen for Google and Cloudflare, I’d like to look at reversing that.
Is cloud DNS support in Virtualmin module-ized at all? From what I can tell it’s more integrated than a module.
The cloudns.net API is well documented, and I’d like to look at either creating a module to mimic cloud DNS, or seeing what it would take to get into Virtualmin.
Thanks.

It is not one of our supported cloud DNS providers. Route 53 is in GPL and Pro, Google and Cloudflare in Pro only.

If you wanted to implement it yourself, you’d probably look at the existing implementations in virtualmin-gpl/dnscloud-lib.pl at master · virtualmin/virtualmin-gpl · GitHub

And, there is a dnscloudpro-lib.pl file in your Pro installation that has the Google and Cloudflare implementations (I think there are also some extra files for loading config and authenticating and such). DNS is pretty well abstracted in Virtualmin, so as long as it has all the functions it needs (and those functions do the right things), it should just work. There aren’t a lot of weird edge cases or whatever that we haven’t already dealt with, given how many different ways you can manage DNS in Virtualmin.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.