Azure DNS: Assistance Needed for Custom DNS Creation and Configuration

Satyendra Kumar 0 Reputation points
2026-10-08T11:49:47.2666667+00:00

Problem description

I am seeking guidance on how to create custom DNS in Azure. My goal is to set up a custom DNS zone and records, but I am encountering issues with the configuration and name resolution.

Environment

Azure DNS in the Azure public cloud. Specific resource details are not provided in the case information.

What I've already tried

I have not tried anything yet.

Current status

I am looking for step-by-step instructions or guidance to successfully create and configure custom DNS zones and records in Azure.

Azure DNS
Azure DNS

An Azure service that enables hosting Domain Name System (DNS) domains in Azure.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Allan Solomon Mejia 10,465 Reputation points
    2026-10-08T17:59:57.6033333+00:00

    Hi @Satyendra Kumar

    The correct setup depends on whether the DNS records must be publicly accessible or only resolvable inside Azure virtual networks.

    For a public domain:

    1. In the Azure portal, search for DNS zones and select Create.
    2. Enter the domain you own.
    3. Open the new zone and select Record sets > Add.
    4. Create the required records, such as:
      1. A - maps a hostname to an IPv4 address.
      2. AAAA - maps a hostname to an IPv6 address.
      3. CNAME - maps one hostname to another hostname.
      4. MX - identifies the domain’s mail server.
      5. TXT - commonly used for domain verification and email policies.
    5. Copy the four Azure name servers shown on the zone’s Overview page.
    6. At your domain registrar, replace the existing name-server entries with the Azure name servers. The domain must be delegated before public DNS queries will normally reach the Azure DNS zone.

    For names that should resolve only inside Azure, create a Private DNS zone, add the required records, and create a virtual network link between the zone and each VNet that needs to resolve it. Autoregistration can optionally create and maintain A records for Azure VMs in the linked VNet.

    If you’re using custom DNS servers or need name resolution between Azure and an on-premises network, the design is different and may require conditional forwarding or Azure DNS Private Resolver:

    Please confirm whether you need a public Internet domain, private VNet-only DNS, or hybrid Azure/on-premises DNS, along with the record type and target you’re trying to configure.

    References:

    Create a public DNS zone and record

    Delegate a domain to Azure DNS

    Manage DNS records in the Azure portal

    Create an Azure Private DNS zone

    Azure Private DNS overview

    Azure DNS Private Resolver overview


    Help make this community better for everyone: If this answer helped or resolved your issue, please accept it or upvote it. If not, share more details in a comment so we can continue the discussion and find the right solution. Thank you.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.