How does Azure DNS work for public and private zones?
BeginnerConceptNetworking
Answer
Azure DNS public zones host your internet domain records on Microsoft's anycast name servers; you delegate the domain at your registrar to the four NS records Azure gives you. Alias records can point at a public IP, Front Door, or Traffic Manager profile and stay correct when the target changes.
Private DNS zones resolve names only inside VNets that are linked to the zone, optionally with auto-registration of VM records. They are the backbone of Private Endpoint name resolution.
az network dns record-set a add-record -g rg-dns -z devopsshack.com -n app -a 20.1.2.3
az network private-dns link vnet create -g rg-dns -z privatelink.azurecr.io \
-n link-spoke -v <vnetId> -e false
More on Networking
What is a VNet and how does it compare to an AWS VPC?BeginnerHow many IP addresses does Azure reserve in each subnet?BeginnerWhat is a Network Security Group and how are its rules evaluated?BeginnerIf an NSG is on both the subnet and the NIC, how is traffic evaluated?AdvancedWhat are service tags and why use them in NSG rules?BeginnerWhat is an Application Security Group (ASG)?Intermediate