How to create a DNS Zone in Azure DNS

Reading Time: 2 minutes

A DNS zone is used to host the DNS records for a particular domain. For example, the domain ‘ccloudbuild.co.uk’ may contain a number of DNS records such as ‘mail.cloudbuild.co.uk’ (for a mail server) and ‘www.cloudbuild.co.uk’ (for a web site).

Azure DNS allows you to host your DNS zone and manage your DNS records, and provides name servers that will respond to DNS queries from end users with the DNS records that you create.

  1. Login to the Azure Portal
  2. Search DNS Zones and click

3. Select your subscription.

4. Create a new resource group or select an existing one.

5. Within the name field, input your domain name, for example cloudbuild.co.uk

6. Select your resource group location

7. Click Review + create, and click create when validation passes

  1. Click Go to resources or search DNS Zones via the search box
  2. You’ll find that a number of records have been created. You will require the 4 X NS records when updating your name server records at your domain registrar.
  3. Next, we move onto creating the required records to support your domain, starting with an A record.

The A in A record stands for Address. A Records are the simplest type of DNS records, and one of the primary records used in DNS servers. The A record contains the pairing between the IP address and the domain name. We will configured an A record to link the domain to a web server.

  1. Click + Record set
  1. Type www in the name field
  2. A – Alias record to IPv4 address should be selected by default. Select AAAA if you’re using IPv6.
  3. Configure alias record set to no
  4. TTL (Time to Live) which specifies how long the DNS servers cache the resolution before it’s removed. For the purpose of this demo, I’ll go with 30 minutes
  5. Finally, in the IP address field input the public IP address.
  6. Click OK

And that’s how you delegate a domain from the domain registrar to Azure DNS, and configure an A record to link the domain to a web server.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.