Default DNS hosts


#1

Hi, I was wondering if its possible to define default DNS settings to be automatically applied when adding a new site, I use Google Suite and would really like to have the MX hosts automatically set when adding a new domain, if not with all sites, at least with domains that cloudflare is unable to determine the current hosts with, such as when the nameservers are set before adding.

If any other solutions are possible and this isn’t, the next best/easiest solution would be great if anyone can recommend something else to set them in the easiest way possible for newly added sites


#2

That sounds like a feature request, though quite a specialized use case. It can be done with some fancy API work:
https://api.cloudflare.com/#zone-create-zone
https://api.cloudflare.com/#dns-records-for-a-zone-list-dns-records
https://api.cloudflare.com/#dns-records-for-a-zone-create-dns-record


#3

That’s what I’ll probably end up doing, thanks for clarifying and providing the links, does cloudflare accept feature requests?


#4

Topic moved @leetcodes
:wink:


#5

This topic was automatically closed after 14 days. New replies are no longer allowed.