I’m working for an organization in Sweden, and we have our own nameservers - which we want to keep. At the same time we would like to use Cloudflare to mitigate DOS-attacks and such. Is it in any way possible to setup our root domain SecretDomainName.se with Cloudflare without using their name servers? CNAME Setup seem to, as I understand it, only work with subdomains.
There are a few options, but both require the higher tier Cloudflare plans.
Business and Enterprise customers have the option of Vanity Nameservers, which are the fully Cloudflare hosted nameservers, just with a different name.
Cloudflare also offers DNS Firewall as a standalone product which allows us to act as a proxy for your current nameservers.
I’m asking for a solution to use Cloudflare without changing to Cloudflare’s nameservers. We have our own local Nameservers, on our own servers. What I’m wondering, is if there is any solution where we can use Cloudflare but keep our own nameservers? Or if there is any solution similar to “CNAME Setup” but usable with the root domain.
Thanks,
Matt
A CNAME at the root is technically not RFC compliant and can cause problems with mail delivery (among other things). Cloudflare does CNAME flattening at the root returning an IP address instead of the CNAME target) to allow for this and a few other providers do something similar.
ANAME is a newer DNS record type which basically does the same thing as CNAME flattening.
Most DNS software won’t let you create a CNAME at the root unless it also supports flattenign in some manner.