Azure DNS allows you to host a DNS domain and manage the DNS zone records. To host your domain in Azure, the zone must be created in Azure and delegated to Azure's authoritative DNS servers with a domain registrar.

Prepare before delegation

The screenshots use OVH; the principle applies to other registrars with different menu names. Do not change the registrar's name servers until the new zone has been populated and checked.

  1. Export/inventory the old zone and record its current authoritative NS values.
  2. Recreate required A/AAAA, CNAME, MX, TXT (including SPF/DKIM/DMARC), CAA and any SRV/delegated-subdomain records in Azure.
  3. Review TTLs, DNSSEC/DS records with the registrar and the planned change window; incompatible DNSSEC delegation can cause validation failures.
  4. Query each new Azure authoritative server directly before switching and compare important record answers.
  5. Keep the old zone serving equivalent data during the transition. Record who can restore the old NS set if rollback is needed; resolver caches mean rollback is not instant.

Technical execution validation and current portal-version review: not recorded. Use the official guidance below, not the screenshots alone.

Note

Azure DNS isn't a domain registrar - you must buy your domain name first from a registrar like GoDaddy, OVH, Cloudflare, etc.

The official documentation is available here:

Creating a new public DNS zone in Azure

Azure DNS allows you to host a DNS zone and manage DNS records for a domain directly in Azure. For DNS queries for a domain to reach Azure DNS, the domain must be delegated to Azure DNS from the parent domain.

Note

Keep in mind, Azure DNS is not the domain registrar - OVH remains the registrar.

Steps:

  1. Sign in to the Azure portal and search for DNS Zone in the Marketplace.
Search for DNS Zone in the Azure Marketplace
Search for DNS Zone in the Azure Marketplace Open original image
  1. Click Create.
Create a DNS zone
Create a DNS zone Open original image
  1. Select an existing resource group or create a new one, enter the DNS zone name, choose a location (e.g., West Europe), add tags if necessary, then click Create.
New DNS zone form
New DNS zone form Open original image
Note

Azure can create a zone resource for a name without proving domain ownership. That does not give authority over the public domain: you must control its registrar/parent delegation to make public resolvers use your zone.

To manage the zone, Azure provides four name servers (NS) by default to ensure redundancy in case of failure.

Azure DNS name servers
Azure DNS name servers Open original image
Note

Copy the NS server names and keep them handy - they will be required to configure the delegation in the OVH portal.

Create DNS records

Note

Populate Azure records before changing delegation. After the transition, DNS record changes belong in Azure, while domain registration, renewal and registrar-side delegation/DNSSEC settings still belong at the registrar.

First, recreate the inventoried records so the new authoritative servers already supply the expected answers. Do not overwrite Azure's assigned apex NS/SOA records with the old provider's values.

To display my website, the first record to create in Azure DNS is an A record pointing to the public IP address of my website provided by OVH.

  1. In Azure DNS, click Add Record Set.
  2. Leave the Name field empty or enter @ (this corresponds to the root of the domain).
  3. Select record type A, leave the default TTL, and add the public IP address of the website.
Add an A record set
Add an A record set Open original image
  1. Once the record is created, you should see the corresponding entry.
New record set created
New record set created Open original image
  1. Next, create a www record of type CNAME pointing to the root domain.
CNAME record pointing to root domain
CNAME record pointing to root domain Open original image

Delegate the domain

Only after the records in the preceding section have been created and directly queried should you update the registrar's authoritative NS set. Save the exact four Azure names and the previous registrar values. Each registrar has its own tools for this.

Steps in OVH:

  1. Go back to the OVH portal and navigate to the DNS Servers menu.
  2. Click Modify DNS Servers.
Modify DNS servers in OVH
Modify DNS servers in OVH Open original image
  1. Select Use my own DNS and add the four Azure DNS name servers (remove the trailing dot).
Add Azure DNS name servers
Add Azure DNS name servers Open original image
  1. Delete the existing OVH NS entries.
Remove OVH NS entries
Remove OVH NS entries Open original image
  1. Click Apply Configuration.
Apply OVH DNS configuration
Apply OVH DNS configuration Open original image
  1. The DNS servers for the zone are now the Azure DNS servers.
Custom DNS servers configured
Custom DNS servers configured Open original image
Warning

Missing or inconsistent records can interrupt websites, mail and other services. With matching old/new zones, downtime is not an intended step. During cache expiry, clients may query either provider; keep both correct and monitor important services.

Test the delegation

Before the switch, query a new Azure name server directly, for example nslookup -type=MX <your-domain> <one-azure-name-server>, and repeat for the important records. After the switch, check through ordinary recursive resolvers and optionally Zonemaster . Cache timing depends on TTLs and registrar/registry behaviour; there is no guaranteed ten-minute propagation period.

There is no need to explicitly specify the Azure DNS name servers. If the delegation is configured correctly, the standard DNS resolution process will automatically detect the Azure name servers.

Clear the DNS cache first:

bash
ipconfig /flushdns
Flush the local DNS cache
Flush the local DNS cache Open original image

Then check the SOA record:

bash
nslookup -type=SOA quickquotemaker.io
nslookup SOA output
nslookup SOA output Open original image

Verify that the response looks like the expected nslookup output. To display the name servers, run:

bash
nslookup -type=NS quickquotemaker.io
nslookup NS output
nslookup NS output Open original image

Expected: the NS set matches the assigned Azure servers, SOA identifies the intended authoritative zone, and web/mail/verification records match the inventory. Test both the apex and www, plus mail delivery if used. DNS success alone is not evidence that every service is healthy.

Note

All DNS management actions (add / delete / modify records) should be done from Azure only. Add a Delete lock on your DNS resource group to prevent accidental deletion.

Enjoy!

Context

I own a domain name, quickquotemaker.io, which is used to display a website, www.quickquotemaker.io, that you can visit.

The DNS zone management for this domain is handled by the registrar OVH, where I purchased the domain name.

OVH domain names list
OVH domain names list Open original image

From the OVH interface, I can manage my DNS zone and add any type of record as needed (A, CNAME, NS, MX, TXT, etc.).

OVH DNS entries
OVH DNS entries Open original image

For various applications hosted in Azure, I regularly need to create new DNS entries so that my applications can be accessed using domain names such as myapp1.quickquotemaker.io, myapp2.quickquotemaker.io, or www.quickquotemaker.io.

To do this, I currently have to configure DNS settings in two different places: the Azure portal and the OVH portal . The goal of this article is to show how to centralize DNS zone management in Azure by delegating the zone currently hosted by OVH.