Configure DNS¶
Resolution configuration for workloads in Azure.
| Option | Description | Best Use Case |
|---|---|---|
| VNet Default | 168.63.129.16 | Cloud-only simple VNets. |
| Private DNS | Azure Private Zones | Private Endpoint resolution. |
| Custom DNS | AD DS / Forwarder | Hybrid or complex topologies. |
| Validation Check | Command | Expected Result |
|---|---|---|
| Active DNS server | ipconfig /all or cat /etc/resolv.conf | Configured server matches design. |
| Private endpoint name test | nslookup <resource-fqdn> | Private IP returned. |
| Zone link verification | Portal or CLI | Correct VNets linked to zone. |
mermaid graph TD Query[DNS Query] --> Custom[Custom DNS Set?] Custom -- Yes --> Server[Custom DNS Server] Custom -- No --> Private[Private Zone Linked?] Private -- Yes --> Record[Resolve from Zone] Private -- No --> Public[Public Azure Resolver]
Note
Changing VNet DNS settings requires a VM restart or DHCP renewal on client machines for settings to take effect.