This article covers the “Implement and manage virtual networking” section of the AZ-100 and AZ-103 Exams and is part of my AZ-100 Study Notes series.
Configure Azure DNS
Within Virtual Networks, DNS servers may be configured by navigating to the VNET and then navigate to “DNS Servers” in the “Settings” menu. By default virtual networks are managed by the Azure DNS but you can select Custom and provide a DNS server. This can also be configured on a per VM basis.
Any Virtual Machines connected to the VNET must be restarted for changes to be applied.
To configure a custom DNS Zone in Azure, do a search for “DNS Zones” and select “Create dns zone” then provide a name such as ‘contoso.xyz’ for the new Instance.
Once configured navigate to the new DNS Zone and select “Record set” in the Overview to create a new DNS record. Here you can configure all the standard types of DNS records.
You can then easily test this by opening a command prompt and typing –
nslookup <dnsName> <nameServer>
An example would be –
nslookup webserver.example.com ns1-05.azure-dns.com
More information on this can be found at – https://docs.microsoft.com/en-us/azure/dns/dns-getstarted-portal
Configure custom DNS settings
Azure provides custom DNS for any Azure resources that support custom domain or that have a fully qualified domain name.
Detailed information on various resources types and how to configure Custom DNS on them can be found at – https://docs.microsoft.com/en-us/azure/dns/dns-custom-domain
Configure private and public DNS zones
I’ve covered this in the first section of this article, more detailed information can be found at – https://docs.microsoft.com/en-us/azure/dns/dns-operations-dnszones-portal