In this article, we will discuss how to; create and configure a private DNS zone, create and configure DNS records, and, configure DNS settings on a virtual net.
Create a private DNS zone
Azure Private DNS provides a reliable, secure DNS service to manage and resolve domain names in a virtual network without adding a custom DNS solution. Private DNS zones allow you to use your custom domain names rather than the Azure-provided ones available today.
- On the portal search bar, type Private DNS zones in the search text box and select Private DNS zones from the results.
- Select + Create.
- On the Basics tab of Create private DNS zone, enter the information listed below:
Property Value
Subscription Select your subscription
Resource group YOUR RESOURCE GROUP
Name contoso.com
Region East US
- Select Review + Create and then select Create.
Create a virtual network link to your private DNS zone
- On the portal search bar, type Private DNS zones in the search text box and select Private DNS zones from the results.
- Select contoso.com.
- Select + Virtual network link.
- Select + Add
- On the Basics tab of Create Virtual Network link, enter the information listed below:
Property Value
Link name app-vnet-link
Virtual network app-vnet
Enable auto registration Enabled
- Select OK
Create a DNS record set
- On the portal search bar, type Private DNS zones in the search text box and select Private DNS zones from the results.
- Select contoso.com.
- Select + Record set.
- On the Basics tab of Create record set, enter the information listed below:
Property Value
Name backend
Type A
TTL 1
IP address 10.1.1.4
- Select OK
- Verify that contoso.com has a record set named backend