Azure DNS: The Phone Book of Your Cloud Applications
A beginner-friendly guide to Azure DNS. Learn how names turn into addresses, how public and private zones work, what record types mean, and how to design naming that is fast, reliable, and secure.
Imagine you want to call a friend, but you only remember the name, not the phone number. You open the contacts list, search for the name, and the phone gives you the number. Nobody memorizes thousands of phone numbers anymore. The internet has the same problem. Computers find each other using number addresses, but people remember names like shop.example.com. The system that turns names into numbers is called DNS, and Azure DNS is Microsoft’s cloud service for running it.
1What Is DNS?
Before Azure, understand the basic idea of DNS itself.
DNS stands for Domain Name System. It is a giant, worldwide, shared directory that connects human-friendly names to the numeric addresses that computers use. Every device on a network, including servers and websites, has an IP address such as 20.50.10.5. Typing a number like that into a browser every time would be painful, so we use names instead.
When you type a website name into a browser, your device quietly asks a DNS server, “What is the address for this name?” The server answers with a number, and then your device connects to that number. All of this takes a few milliseconds, and you never see it happen.
DNS is the contacts app on your phone. You tap on “Mom” and the phone dials the number. You never think about the digits. In the same way, you type a name and DNS finds the address behind it.
2What Is Azure DNS?
Azure DNS is a hosting service for DNS records, running on Microsoft’s global network.
Azure DNS lets you host your DNS zones and records inside Azure. A zone is a container that holds all the DNS records for one domain name, such as example.com. By hosting the zone in Azure, the answers to questions about your names are served from Microsoft’s worldwide network of name servers, which are the machines that answer DNS questions.
It is important to know what Azure DNS does not do. It does not sell or register domain names. You buy a domain name from a domain registrar, which could be Microsoft’s App Service Domains or any other registrar. Azure DNS then hosts the records for that domain after you point the registrar to Azure’s name servers.
Reliable and fast
Records are served from a global network of name servers using a method called anycast, so each question is answered by a nearby server.
One place for everything
Manage DNS with the same portal, tools, and permissions you use for your other Azure resources.
Secure access control
Use role-based access control, activity logs, and resource locks to control and audit changes.
Private name resolution
Private zones let machines inside your virtual networks use friendly names without exposing them to the internet.
Automation friendly
Records can be created and changed by templates and scripts, which suits repeatable deployments.
Thinking that creating a zone in Azure DNS automatically makes the domain work on the internet. It does not. You must also update the name servers at your domain registrar so the world knows to ask Azure.
3DNS Vocabulary You Need First
A handful of words explain almost everything in DNS.
Domain name
A human-friendly name such as example.com that identifies a website, service, or organization.
Subdomain
A name added in front of a domain, such as shop.example.com, used to separate parts of a service.
Zone
The container holding all records for a domain, or a piece of a domain that is managed together.
Record
One entry in a zone, saying that a name maps to some value, such as an address.
Name server
A server that holds zone records and answers questions about them.
Resolver
The helper that asks questions on behalf of your device, often run by your internet provider, company, or cloud network.
TTL (Time to Live)
How many seconds an answer may be remembered before it must be asked for again.
FQDN
Fully Qualified Domain Name, the complete name including every part, such as shop.example.com.
A zone is a phone book for one family of names. A record is one line in that book. A name server is the librarian who holds the book. A resolver is the helper who goes to ask the librarian for you. TTL is how long the helper may remember an answer before asking again.
Reading a name from right to left
A domain name is read from right to left. In shop.example.com, the last part, com, is the top-level domain. Next comes example, the domain you own. Then shop, a subdomain you created. This structure forms a tree, and each level is managed by different servers.
4How a DNS Lookup Works
Follow one question from your device all the way to the answer.
When your device wants the address of shop.example.com, it does not know the answer itself. A chain of helpers works together to find it.
Check the local memory
Your device and browser first check if they already remember the answer from a recent lookup. If yes, they use it right away.
Ask the resolver
If not remembered, the device asks its configured resolver, which acts on its behalf and also keeps a memory of recent answers.
Ask the root servers
The resolver asks a root server where to find servers for the top-level domain, such as com.
Ask the top-level domain servers
The com servers say which name servers are responsible for example.com. These are the ones you set at your registrar.
Ask the authoritative name servers
If example.com is hosted in Azure DNS, an Azure name server answers with the final record for shop.example.com.
Return and remember
The resolver gives the answer to your device and remembers it for the TTL period so later questions are faster.
sequenceDiagram
participant D as User Device
participant R as Resolver
participant Root as Root Servers
participant TLD as com Servers
participant AZ as Azure DNS Name Servers
D->>R: Address of shop.example.com?
R->>Root: Who handles com?
Root-->>R: Ask the com servers
R->>TLD: Who handles example.com?
TLD-->>R: Ask the Azure DNS name servers
R->>AZ: Address of shop.example.com?
AZ-->>R: Here is the address
R-->>D: Here is the address
Azure DNS is an authoritative service. That means it holds the official answers for your zones. It is not the resolver that your laptop uses to look up other people’s websites. Those are two different jobs.
5Public DNS Zones
Public zones make your names reachable by anyone on the internet.
A public DNS zone in Azure DNS holds the records for an internet-facing domain. When you create one, Azure assigns your zone a set of name servers, typically four, with names that end in azure-dns.com, azure-dns.net, azure-dns.org, and azure-dns.info. Spreading them over different top-level domains adds resilience.
Steps to put a domain on Azure DNS
Own a domain
Buy the domain from a registrar. Azure DNS hosts records but does not sell the name itself.
Create a DNS zone
Create the public zone in your Azure subscription and resource group, using the exact domain name.
Add your records
Create the records that point your names to your websites, mail servers, and services.
Delegate at the registrar
Copy the Azure name server names and enter them at your registrar as the name servers for the domain.
Wait and verify
Changes take time to spread, depending on earlier TTL values. Then test that your names resolve to the right answers.
flowchart LR
REG["Domain Registrar"] -->|Name server delegation| NS["Azure DNS Name Servers"]
NS --> Z["Public Zone: example.com"]
Z --> A["www points to web app"]
Z --> B["mail points to mail service"]
Z --> C["api points to API gateway"]
Delegating a subdomain
You can also host just a part of a domain in Azure DNS. For example, your main domain may live elsewhere, but you want Azure to manage cloud.example.com. You create a zone named cloud.example.com in Azure and then add records in the parent zone that point to Azure’s name servers for that subdomain. This is called delegation.
Delegation is like a company head office handing over one branch to a local manager. The head office keeps a note saying, “For anything about this branch, ask the branch manager.” The branch manager then keeps the detailed records.
6Record Types Explained
Each record type answers a different kind of question.
| Record | What it does | Everyday example |
|---|---|---|
| A | Maps a name to an IPv4 address | www points to a web server’s address |
| AAAA | Maps a name to an IPv6 address | The same website, but over the newer address format |
| CNAME | Makes one name an alias of another name | blog points to a hosting provider’s name |
| MX | Says which servers receive email for the domain | Directs email to your mail provider |
| TXT | Holds free text, often used for verification and email security | Proving you own a domain, or listing allowed email senders |
| NS | Lists the name servers for a zone | Tells the world which servers are in charge |
| SOA | Holds administrative information about a zone | Created automatically with the zone |
| SRV | Finds the host and port of a specific service | Locating a voice or chat service |
| CAA | Says which certificate authorities may issue certificates | Limiting who can create a security certificate for your site |
| PTR | Maps an address back to a name | Used in reverse lookup zones |
What is a record set?
In Azure DNS, records with the same name and type are grouped into one record set. For example, several A records for www form one record set with several values.
Time to Live per record set
Each record set has its own TTL, which controls how long resolvers remember its answers.
The zone apex
The apex is the bare domain, such as example.com itself. It must hold the NS and SOA records and cannot be a normal CNAME.
Different records are like different columns in a contact entry. One column holds a phone number (A record), another holds a nickname that points to a person (CNAME), and another says where to deliver mail (MX record).
A normal CNAME cannot be placed at the zone apex because the apex must hold other required records, and DNS rules forbid a CNAME from sitting beside other records. Azure solves this with alias records, covered next.
7Alias Records: A Smarter Pointer
Alias records connect your DNS name directly to an Azure resource.
A normal A record holds a fixed IP address. If that address changes, your record becomes wrong, and visitors may be sent to a dead end. An alias record instead points to an Azure resource itself, such as a public IP address, a Traffic Manager profile, or a Content Delivery Network endpoint. When the resource’s address changes, the alias record follows automatically.
Always current
The record updates with the resource, so you avoid stale addresses.
Works at the apex
Alias records let the bare domain point to a service such as Traffic Manager, which a normal CNAME cannot do.
Prevents dangling records
If the target resource is deleted, the alias record can be removed or flagged, lowering the risk of someone taking over an orphaned name.
No extra lookup charge for aliases to resources
Queries to alias record sets that point to Azure resources are not charged in the same way as normal queries. Check the pricing page for the current details.
A normal A record is like writing a friend’s phone number on a sticky note. If they change their number, your note is wrong. An alias record is like saving a contact that is linked to their account, so it updates by itself whenever they change their number.
Example: a company website with global failover
A company wants example.com, the bare name, to reach the nearest healthy website copy around the world. It points an alias record at its Traffic Manager profile. Visitors using the bare domain get routed correctly, which would not be possible with a normal CNAME.
8Private DNS Zones
Private zones give friendly names to machines that must stay hidden from the internet.
Inside your Azure Virtual Networks, machines have private IP addresses such as 10.0.1.4. Remembering those is as hard as remembering phone numbers. Azure DNS Private Zones let you give private machines and services readable names like db01.internal.example.com. These names only resolve inside the virtual networks you link to the zone. Outsiders on the internet cannot see them.
Virtual network links
A private zone does nothing until you connect it to a virtual network through a virtual network link. Only networks linked to the zone can resolve its names. One private zone can be linked to many virtual networks, which is useful for sharing the same names across several networks.
Auto-registration
When you link a virtual network with auto-registration turned on, virtual machines in that network automatically get a record created in the zone, and the record is removed when the machine is deleted. This removes a lot of manual work. A virtual network can have only one registration link, but it can have several resolution-only links.
flowchart TD
PZ["Private Zone: internal.example.com"] --- L1["Link with auto-registration"]
PZ --- L2["Link for resolution only"]
L1 --- V1["VNet A: VMs register their names"]
L2 --- V2["VNet B: can look up names in the zone"]
V1 --> M1["vm1.internal.example.com"]
V1 --> M2["vm2.internal.example.com"]
V2 -->|Resolves| M1
| Point | Public Zone | Private Zone |
|---|---|---|
| Who can resolve names | Anyone on the internet | Only linked virtual networks |
| Typical records | Websites, mail, public services | Servers, databases, internal services |
| Registrar delegation needed | Yes | No |
| Auto-registration of machines | Not applicable | Available through a registration link |
| Name can be any valid domain | Must be a domain you own and delegate | Can be a made-up internal name, though a name you own is wise |
A public zone is the printed city phone book that everyone can read. A private zone is the internal staff directory of a company, which only people inside the building can open.
9Name Resolution Inside Azure Virtual Networks
Machines in a VNet need a resolver, and there are a few options to choose from.
Every Azure virtual network has access to a built-in resolver at a special address, 168.63.129.16. It is a virtual public address that exists in all virtual networks and is reachable only from inside Azure. It is also called Azure-provided DNS. By default, machines use it automatically.
Azure-provided DNS
The default. It resolves public names, names in private zones linked to the network, and basic machine names inside the network. No setup needed.
Your own DNS servers
You run DNS servers on virtual machines and point the virtual network to them. This gives full control but you must maintain, patch, and secure the servers.
Azure DNS Private Resolver
A managed service that connects Azure and on-premises name resolution without running your own servers.
Machines can only use private zone names if their resolution flows through Azure-provided DNS. If you use custom DNS servers, those servers must forward the relevant questions to Azure. This is a very common source of confusion.
10Azure DNS Private Resolver: Bridging Cloud and Office
Hybrid companies need names to work in both the cloud and the office.
Many organizations keep some servers in their own data centers and others in Azure. Machines on one side often need to find names that live on the other. Before the Private Resolver, teams ran DNS server virtual machines in Azure just to forward questions back and forth. Azure DNS Private Resolver replaces that with a managed service.
Main building blocks
Inbound endpoint
Gives on-premises machines a private address in Azure where they can send questions about Azure private zones.
Outbound endpoint
Lets Azure machines send questions out to other DNS servers, such as those in your office.
DNS forwarding ruleset
A list of rules that say, “for this domain, send questions to these servers.”
flowchart LR
subgraph OP["On-premises Office"]
ODNS["Office DNS Servers"]
end
subgraph AZ["Azure"]
IN["Inbound Endpoint"]
OUT["Outbound Endpoint with Rules"]
PZ["Private DNS Zones"]
VMS["Virtual Machines"]
end
ODNS -->|Questions about Azure names| IN
IN --> PZ
VMS --> OUT
OUT -->|Questions about office names| ODNS
Example: a bank moving to the cloud step by step
Some of the bank’s applications now run in Azure, but its core systems remain in a data center. Cloud applications need to resolve names of data center servers, and data center staff need to resolve names of Azure databases. The Private Resolver handles both without any extra DNS servers to manage.
The Private Resolver is a pair of receptionists, one at each office building. Each receptionist knows who to call at the other building, so any visitor can ask for a name and get an answer, no matter which building they are standing in.
11DNS and Private Endpoints
Private endpoints depend on DNS to work correctly.
When you create a private endpoint for a service like a storage account or database, the service gets a private address inside your virtual network. But applications still use the normal service name, such as an account name ending in a Microsoft domain. DNS must return the private address instead of the public one for machines inside your network.
Azure solves this by using special private zones with names that start with the label “privatelink”. When you link the right private zone to your virtual network, names inside the network resolve to the private address, while the same names on the public internet still resolve to the public address.
sequenceDiagram
participant App as Application in VNet
participant AzDNS as Azure-provided DNS
participant PZ as privatelink Private Zone
participant PE as Private Endpoint
App->>AzDNS: Address of the storage service name?
AzDNS->>PZ: Check linked private zone
PZ-->>AzDNS: Private address of the endpoint
AzDNS-->>App: Private address
App->>PE: Connect privately
Creating a private endpoint but forgetting the DNS part. The application keeps getting the public address, so it either goes over the internet or is blocked if public access is turned off. When a private endpoint “does not work”, DNS is the first thing to check.
12Working with Other Azure Services
DNS is the front door that connects people to many Azure services.
Azure App Service and custom domains
To use your own domain name for a web app, you add records in your zone, usually a CNAME or an alias plus a verification TXT record, so Azure can confirm you own the domain.
Azure Traffic Manager
Traffic Manager uses DNS to send users to different endpoints based on rules such as speed, location, or health. Your own name points to the Traffic Manager name, which in turn answers with the best endpoint.
Azure Front Door and Content Delivery Network
Your friendly name points to the global edge service, which then delivers content from a location near the user. DNS records plus verification records link your name to the service.
Public IP addresses and load balancers
Alias records can point to a public IP address resource so the name always follows the address.
Email and certificates
MX, TXT, and CAA records in your zone set up email delivery, protect against spoofing, and control certificate issuance.
flowchart TD
U["User types www.example.com"] --> DNS["Azure DNS Zone"]
DNS --> TM["Traffic Manager"]
DNS --> FD["Front Door"]
DNS --> PIP["Public IP Address"]
TM --> E1["Endpoint in Region 1"]
TM --> E2["Endpoint in Region 2"]
FD --> WA["Web App"]
PIP --> LB["Load Balancer"]
13Security for Azure DNS
DNS controls where users go, so protecting it protects your whole business.
If an attacker can change your DNS records, they can send your customers to a fake website, intercept email, or take your service offline. That is why DNS security matters as much as any other part of your system.
Role-based access control
Give people the least permission they need. Built-in roles such as DNS Zone Contributor allow editing records without full control of the subscription.
Resource locks
Lock a zone or record set so it cannot be deleted or changed by accident, even by someone with permissions.
Activity logs
Every change to zones and records is logged, so you can see who changed what and when.
DNSSEC for public zones
DNSSEC adds digital signatures to your records so resolvers can check they are genuine and have not been tampered with. Azure DNS supports DNSSEC signing for public zones, and you also add the matching information at your registrar. Check the documentation for current availability and steps.
Protection against dangling records
Remove records that point to deleted resources, and prefer alias records, to reduce the chance of subdomain takeover.
Email security records
Properly configured TXT records help receiving mail servers confirm that email from your domain is genuine.
Imagine someone secretly changing the signposts at a crossroads so travelers drive to the wrong town. DNS security is the locks, guards, cameras, and signed paperwork that stop anyone from tampering with your signposts.
Problem
Leaving old records that point to deleted web apps, storage endpoints, or other cloud resources.
Why It’s Harmful
An attacker can create a new resource with the same cloud name and your own subdomain now points to their content. This is called a subdomain takeover.
Correct Approach
Delete DNS records when you delete the resource they point to, use alias records where possible, and review zones regularly.
14Reliability, TTL, and Caching
Understanding caching explains why DNS changes do not always appear instantly.
Because answers are remembered by resolvers for the TTL period, a change you make in Azure DNS may not be seen by everyone at once. If a record had a TTL of one hour, some resolvers may keep giving the old answer for up to an hour after you change it.
| TTL choice | Benefit | Drawback | Good for |
|---|---|---|---|
| Short (for example, a few minutes) | Changes spread quickly | More lookups, slightly more load and cost | Records you expect to change, or during a migration |
| Medium (for example, an hour) | Good balance | Changes take up to an hour to spread | Most everyday records |
| Long (for example, a day) | Fewer lookups, resilient to short outages | Changes spread slowly | Stable records that rarely change |
Lower the TTL ahead of time
Before a planned change such as moving a website, reduce the TTL a day or so in advance so old cached answers expire quickly.
Make the change
Update the record to the new value.
Verify from several places
Test the name from different networks to confirm that the new answer is appearing.
Raise the TTL again
Once everything is stable, return to a longer TTL to cut lookups.
TTL is like the expiry date on milk. A short expiry date means fresher milk but more trips to the shop. A long expiry date means fewer trips but a risk of using something out of date.
Azure DNS serves your zones from many name servers around the world, so it keeps answering even if some servers or locations have problems. For critical systems, DNS reliability is as important as the reliability of the application itself.
15Monitoring and Troubleshooting
When a name does not work, a calm checklist usually finds the cause.
What you can watch
Query volume
How many questions your zones receive. Sudden spikes can signal a campaign, a problem, or an attack.
Record set counts
How many record sets exist compared with limits, useful for planning growth.
Activity log
Shows administrative changes to zones, records, and links.
DNS query logging
Where available, shows which names were asked about and from where, which helps find unexpected behavior and security issues.
A simple troubleshooting path
Is the record correct?
Check the name, type, value, and TTL in the zone. Typos and wrong record types cause many problems.
Is the zone delegated properly?
Confirm that the registrar’s name servers match the ones Azure assigned to the zone.
Ask the authoritative server directly
Query one of the Azure name servers directly using a lookup tool to see what the zone really says, bypassing caches.
Is it a cache problem?
Remember that resolvers and devices may still hold the old answer until the TTL expires. Clearing local caches can help during testing.
For private zones, check links and resolver path
Confirm the virtual network is linked to the zone and that the machine really uses Azure-provided DNS or a custom server that forwards correctly.
Blaming the application when the name is actually resolving to the wrong address. Before debugging code, check which address the name returns from the machine where the problem occurs.
16Cost and Limits
Azure DNS is usually inexpensive, but it helps to know what you pay for.
Azure DNS pricing is generally based on the number of hosted zones and the number of queries received. Private zones are billed in a similar way, with their own pricing. Services around DNS, such as the Private Resolver, are billed separately based on their endpoints and the queries they process.
Hosted zones
A small monthly charge for each zone you host.
Queries
A charge per large batch of queries, so very popular websites pay more.
Private Resolver
Charged for the endpoints you create and the queries processed.
Related services
Traffic Manager, Front Door, and private endpoints each have their own billing.
Prices and limits, such as the maximum number of records per zone, change over time. Use the Azure pricing calculator and the official limits page when planning a large deployment.
17Real-World Use Cases
See how different organizations use Azure DNS every day.
Hosting the main company domain
A company hosts its public domain in Azure DNS, with records for the website, email, and customer applications. Access is limited to a small team, and locks protect critical records.
Global website with failover
An online retailer uses alias records pointing to Traffic Manager or Front Door so customers around the world reach the nearest healthy copy of the site.
Internal names for a three-tier application
A private zone gives the web, app, and database servers friendly names. Developers use names such as db.internal instead of memorizing addresses, and the names stay the same even if addresses change.
Hybrid cloud name resolution
A manufacturer with factories and Azure workloads uses the Private Resolver so factory systems and cloud applications can find each other by name.
Private access to data services
A hospital uses private endpoints for storage and databases, along with the linked privatelink zones, so patient data never travels over the public internet.
Separate environments with separate zones
A software company uses different zones or subdomains for development, testing, and production, with different permissions so that test changes never touch live records.
18Azure DNS Compared with Related Options
It helps to know where Azure DNS fits among similar tools.
| Option | What it does | Best used for |
|---|---|---|
| Azure DNS public zones | Hosts authoritative records for internet domains | Public websites, email, and services |
| Azure DNS private zones | Hosts names visible only inside linked virtual networks | Internal names and private endpoints |
| Azure DNS Private Resolver | Forwards DNS questions between Azure and other networks | Hybrid setups with on-premises DNS |
| Azure-provided DNS | Default resolver inside virtual networks | Simple setups with no special needs |
| Custom DNS servers on virtual machines | Full control over your own DNS software | Special features not offered by the managed services |
| Azure Traffic Manager | DNS-based routing of users to endpoints | Choosing the best endpoint by location, speed, or health |
| Third-party DNS providers | Hosts records outside Azure | When an organization already standardized on another provider |
For public names use a public zone. For internal names use a private zone. For names that must cross between Azure and an office network use the Private Resolver. For smart routing between locations, add Traffic Manager or Front Door on top.
19Advantages and Trade-offs
An honest look helps you decide with open eyes.
Advantages
- Hosted on a global network, so answers are fast and reliable
- Managed with the same tools, permissions, and logs as other Azure resources
- Alias records keep names in sync with Azure resources automatically
- Private zones give clean internal naming without extra servers
- Private Resolver removes the need for custom forwarding servers
- Simple, usage-based pricing that is usually low
Disadvantages / Trade-offs
- It does not register domain names, so a separate registrar is needed
- Delegation and private zone linking add steps that beginners often miss
- Hybrid and custom DNS setups can become complex to design
- Caching means changes are not instant everywhere
- Some advanced DNS features found in specialist providers may not be available
20Best Practices and Mistakes to Avoid
Habits that keep your DNS tidy, safe, and predictable.
Use clear naming conventions
Choose a consistent pattern for subdomains and internal names, so everyone can guess where things live.
Prefer alias records for Azure resources
They update automatically and reduce stale and dangling records.
Control who can edit
Use role-based access with the least permissions needed, and apply locks to important zones.
Manage DNS as code
Keep zone definitions in templates or infrastructure-as-code tools, so changes are reviewed, repeatable, and recoverable.
Plan TTLs around changes
Lower them ahead of migrations and raise them again afterwards.
Design private DNS early
Decide which zones, links, and resolvers you need before deploying private endpoints and hybrid connections.
Review regularly
Remove unused records, check delegations, and watch the logs for strange changes.
Problem
Hard-coding IP addresses in applications and in A records for resources whose addresses can change.
Why It’s Harmful
When the address changes, the application breaks and someone must hunt down every place the old address was used.
Correct Approach
Use names everywhere, and use alias records so the name follows the Azure resource automatically.
Problem
Giving every developer full permissions on all DNS zones.
Why It’s Harmful
A single mistake or stolen account can redirect traffic for the whole company, and it is hard to know who changed what.
Correct Approach
Grant narrow roles, protect key zones with locks, and review the activity log.
Problem
Pointing virtual networks to custom DNS servers without forwarding Azure private zone questions to Azure.
Why It’s Harmful
Machines cannot resolve private zone names or private endpoint names, and applications fail in confusing ways.
Correct Approach
Use Azure-provided DNS or the Private Resolver, or make sure custom servers forward the right domains to Azure’s resolver.
Problem
Changing a name server delegation at the registrar before the zone has all its records.
Why It’s Harmful
Once the world starts asking Azure, any missing record causes outages for the website, email, or other services.
Correct Approach
Copy all existing records into the Azure zone and test them directly against the Azure name servers first, then change the delegation.
21Frequently Asked Questions
No. Azure DNS hosts the records for a domain but does not sell domains. You buy the domain from a registrar, which can be Microsoft’s App Service Domains or another company, and then point it to Azure DNS name servers.
A public zone answers questions from anyone on the internet and needs delegation from your registrar. A private zone answers only questions coming from virtual networks that you link to it, and is used for internal names.
The bare domain, called the zone apex, must hold required records such as NS and SOA, and DNS rules do not allow a CNAME to coexist with other records. Azure’s alias records get around this by pointing the apex directly at certain Azure resources.
Resolvers remember answers for the TTL period, so some of them keep the old answer until it expires. Lowering the TTL before planned changes shortens the delay.
Only if you need names to resolve between Azure and other networks, such as an on-premises office, or you need advanced forwarding. If everything lives inside Azure and you use private zones with Azure-provided DNS, you often do not need it.
Most often the DNS part is missing. The name must resolve to the private address from inside your network. Check that the correct privatelink zone exists, that it is linked to the virtual network, and that machines use a resolver path that reaches it.
No. DNS only tells a client which address to connect to. A load balancer actually receives traffic and spreads it across servers. DNS-based tools such as Traffic Manager can steer users to different endpoints, but they do not carry the traffic themselves.
Use role-based access control to limit who can edit, apply resource locks to important zones and record sets, and monitor the activity log for changes. Managing zones through reviewed templates adds another layer of safety.
22Summary and Key Takeaways
Azure DNS is Microsoft’s cloud service for hosting DNS zones and records. It does not register domains, but once you point your registrar to its name servers, it answers questions about your names from a fast, global network. Public zones serve the internet, private zones serve linked virtual networks, and the Private Resolver connects Azure to on-premises name systems. Alias records keep names in step with Azure resources, even at the bare domain. Because DNS decides where users and applications go, it must be protected with careful permissions, locks, logs, and good housekeeping. Plan your naming, TTLs, and private DNS design early, and DNS will quietly do its job in the background.
Key Takeaways
- DNS turns names into addresses — Azure DNS hosts the official records for your zones on a global network of name servers.
- Delegation is required — creating a public zone is not enough; you must set Azure’s name servers at your registrar.
- Know your record types — A, AAAA, CNAME, MX, TXT, NS, and others each answer a different question, and records with the same name and type form a record set.
- Use alias records for Azure resources — they stay current and also work at the zone apex.
- Private zones need links — a private zone only works for virtual networks linked to it, and auto-registration can create machine records for you.
- DNS makes private endpoints work — link the right privatelink zones and make sure machines use a resolver path that can reach them.
- Secure and manage it carefully — use least-privilege roles, locks, activity logs, DNSSEC where suitable, sensible TTLs, and regular cleanup of old records.