How To Record And Resolve Domain Names Internally

Hyacienth Ugochukwu - Sep 5 - - Dev Community

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.

  1. On the portal search bar, type Private DNS zones in the search text box and select Private DNS zones from the results.
  2. Select + Create.
  3. 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

  1. Select Review + Create and then select Create.

Create a virtual network link to your private DNS zone

  1. On the portal search bar, type Private DNS zones in the search text box and select Private DNS zones from the results.
  2. Select contoso.com.
  3. Select + Virtual network link.
  4. Select + Add
  5. 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

  1. Select OK

Create a DNS record set

  1. On the portal search bar, type Private DNS zones in the search text box and select Private DNS zones from the results.
  2. Select contoso.com.
  3. Select + Record set.
  4. 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

  1. Select OK
  2. Verify that contoso.com has a record set named backend
. . . . . . . . . . . . . . . .
Terabox Video Player