Domain zone file text generator
d19dotca last edited by d19dotca
I think it'd be great if Cloudron could generate the text for a domain's zone for use in certain services that can import a zone file directly for the zone such as OVH.
So it'd generate something like the zone file text on this page as an example: http://www.zytrax.com/books/dns/ch6/mydomain.html
The use-case: It'd be helpful to allow an admin who may be needing to manually manage domains in a service like OVH which isn't yet supported for the API with Cloudron to ensure that everything is in the domain from Cloudron that's expected by Cloudron without any missing items for example.
If there was a way to export them all in bulk too, it could serve as a bit of a backup for those who like to keep an offline backup of the domain configs.
robi last edited by
@d19dotca It's simpler to use a service such as Cloudflare as DNS management supported by Cloudron.
You can export zone files there too.
ruihildt last edited by ruihildt
@robi It's simpler in a way, but adding a third party service is arguably adding complexity and an additional point of failure.
I think it is a good idea where there's no API for big provider like OVH.
humptydumpty last edited by
@ruihildt Spot on. I've noticed a decent number of support posts on here that all had "I use Cloudflare" in common.
@ruihildt There is an API for OVH, Cloudron just does not support it yet
jdaviescoates last edited by jdaviescoates
I've noticed a decent number of support posts on here that all had "I use Cloudflare" in common.
See also this old piece which afaik is still basically accurate
Should export/import for zone files not be a feature of the DNS provider (as opposed to Cloudron) ? Cloudron is only managing entries it knows about (i.e apps + email records).
@girish If our domains are only used with Cloudron (which is probably most examples I'd think), then it's helpful to have us copy & paste the zone file that Cloudron would generate into services like OVH to easily edit everything in bulk for a single domain.
In my case, OVH allows me to edit/import a domain zone, but of course I'd need something to generate it in most cases, which is where having Cloudron generate this would be helpful.
Definitely a lower priority task, but would definitely be a nice-to-have.
I think also with OVH the better solution is to implement a backend using their api https://api.ovh.com/console/#/domain
@nebulon Certainly, implementing OVH’s API would be ideal too. I’m definitely in favour of that.
It’d still be good to add in the zone feature though for other providers which may not have an API and allow for direct zone edits.