Cloudflare with Azure

I have Azure DNS Zone with NS records. When I add my custom domain in Cloudflare it gives me instructions to remove Azure name servers in the registrar and add Cloudflare’s name servers. I am interested in what happens to the Azure DNS zone when I want to protect my site with Cloudflare.

To sum up, which scenario is correct:

  • Delete DNS Zone and just add cloudflares in registrar
  • Add Cloudflare NS in registrar and leave DNS zone as it is with Azure NS
  • Add Cloudflare NS to the registrar and add it to the existing Azure DNS zone by following records scenario:
    1. ns.azure.dns.com
    2. ns.azure.dns.net
    3. ns.azure.dns.org
    4. ns.azure.dns.info

Add cloudflares:

  1. x.ns.cloudflare.com
  2. y.ns.cloudflare.com

I suggest you don’t delete anything in your current DNS. You just need to set only the two Cloudflare name servers for your domain.

You may wish to export your current DNS records into a BIND file to make sure they all make it over to Cloudflare.

https://support.cloudflare.com/hc/en-us/articles/200168856-Importing-and-exporting-DNS-records