Skip to content

Commit 3aae8da

Browse files
authored
Merge pull request #200538 from halkazwini/dns-tut-child
DNS: Tutorial Freshness Review: Create an Azure child DNS zone
2 parents 015742a + f338c4c commit 3aae8da

9 files changed

+86
-57
lines changed

articles/dns/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
href: dns-delegate-domain-azure-dns.md
4848
- name: Create custom DNS records for a web app
4949
href: dns-web-sites-custom-domain.md
50-
- name: Creating a new Child DNS zone
50+
- name: Create new child DNS zone
5151
href: tutorial-public-dns-zones-child.md
5252
- name: Alias records for Traffic Manager
5353
href: tutorial-alias-tm.md
23.5 KB
Loading
68.2 KB
Loading
34.1 KB
Loading
45.4 KB
Loading
45.2 KB
Loading
70.5 KB
Loading
27.7 KB
Loading

articles/dns/tutorial-public-dns-zones-child.md

Lines changed: 85 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,98 +1,127 @@
11
---
2-
title: 'Tutorial: Creating an Azure child DNS zones'
2+
title: 'Tutorial: Create an Azure child DNS zone'
33
titleSuffix: Azure DNS
4-
description: Tutorial on how to create child DNS zones in Azure portal.
4+
description: In this tutorial, you learn how to create child DNS zones in Azure portal.
55
author: jonbeck
66
ms.assetid: be4580d7-aa1b-4b6b-89a3-0991c0cda897
77
ms.service: dns
88
ms.topic: tutorial
9-
ms.custom:
9+
ms.custom: template-tutorial
1010
ms.workload: infrastructure-services
11-
ms.date: 04/19/2021
11+
ms.date: 06/07/2022
1212
ms.author: jonbeck
1313
---
14-
# Tutorial: Creating a new Child DNS zone
14+
# Tutorial: Create a new Child DNS zone
1515

1616
In this tutorial, you learn how to:
1717

1818
> [!div class="checklist"]
19-
> * Signing in to Azure Portal.
20-
> * Creating child DNS zone via new DNS zone.
21-
> * Creating child DNS zone via parent DNS zone.
22-
> * Verifying NS Delegation for new Child DNS zone.
19+
> * Create a child DNS zone via parent DNS zone.
20+
> * Create a child DNS zone via new DNS zone.
21+
> * Verify NS Delegation for the new Child DNS zone.
2322
2423
## Prerequisites
2524

26-
* An Azure account with an active subscription. If you don't have an account, you can [create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
27-
* Existing parent Azure DNS zone.
25+
* An Azure account with an active subscription. If you don't have one, you can [create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
26+
* A parent Azure DNS zone. If you don't have one, you can [create a DNS zone](./dns-getstarted-portal.md#create-a-dns-zone).
2827

29-
In this tutorial, we'll use contoso.com as the parent zone and subdomain.contoso.com as the child domain name. Replace *contoso.com* with your parent domain name and *subdomain* with your child domain. If you haven't created your parent DNS zone, see steps to [create DNS zone using Azure portal](./dns-getstarted-portal.md#create-a-dns-zone).
28+
In this tutorial, we'll use `contoso.com` as the parent zone and `subdomain.contoso.com` as the child domain name. Replace `contoso.com` with your parent domain name and `subdomain` with your child domain.
3029

30+
There are two ways you can create your child DNS zone:
31+
1. Through the parent DNS zone's **Overview** page.
32+
1. Through the **Create DNS zone** page.
3133

32-
## Sign in to Azure portal
34+
## Create a child DNS zone via parent DNS zone Overview page
3335

34-
Sign in to the [Azure portal](https://portal.azure.com/) with your Azure account.
35-
If you don't have an Azure subscription, create a free account before you begin.
36+
You'll create a new child DNS zone and delegate it to the parent DNS zone using the **Child Zone** button from parent zone **Overview** page. Using this button, the parent parameters are automatically pre-populated.
3637

37-
There are two ways you can do create your child DNS zone.
38-
1. Through the "Create DNS zone" portal page.
39-
1. Through the parent DNS zone's configuration page.
38+
1. Sign in to the [Azure portal](https://portal.azure.com).
39+
1. In the Azure portal, enter *contoso.com* in the search box at the top of the portal and then select **contoso.com** DNS zone from the search results.
40+
1. In the **Overview** page, select the **+Child zone** button.
4041

41-
## Create child DNS zone via create DNS zone
42+
:::image type="content" source="./media/tutorial-public-dns-zones-child/child-zone-button.png" alt-text="Screenshot of D N S zone showing the child zone button.":::
4243

43-
In this step, we'll create a new child DNS zone with name **subdomain.contoso.com** and delegate it to existing parent DNS zone **contoso.com**. You'll create the DNS zone using the tabs on the **Create DNS zone** page.
44-
1. On the Azure portal menu or from the **Home** page, select **Create a resource**. The **New** window appears.
45-
1. Select **Networking**, then select **DNS zone** and then select **Add** button.
44+
1. In the **Create DNS zone**, enter or select this information in the **Basics** tab:
4645

47-
1. On the **basics** tab, type or select the following values:
48-
* **Subscription**: Select a subscription to create the zone in.
49-
* **Resource group**: Enter your existing Resource group or create a new one by selecting **Create new**. Enter *MyResourceGroup*, and select **OK**. The resource group name must be unique within the Azure subscription.
50-
* Check this checkbox: **This zone is a child of an existing zone already hosted in Azure DNS**
51-
* **Parent zone subscription**: From this drop down, search or select the subscription name under which parent DNS zone *contoso.com* was created.
52-
* **Parent zone**: In the search bar type *contoso.com* to load it in dropdown list. Once loaded select *contoso.com* from dropdown list.
53-
* **Name:** Type *subdomain* for this tutorial example. Notice that your parent DNS zone name *contoso.com* is automatically added as suffix to name when we select parent zone from the above step.
46+
| Setting | Value |
47+
| ------- | ----- |
48+
| **Project details** | |
49+
| Subscription | Select your Azure subscription.|
50+
| Resource group | Select an existing resource group for the child zone or create a new one by selecting **Create new**. </br> In this tutorial, the resource group **MyResourceGroup** of the parent DNS zone is selected. |
51+
| **Instance details** | |
52+
| Name | Enter your child zone name. In this tutorial, *subdomain* is used. Notice that the parent DNS zone name `contoso.com` is automatically added as a suffix to **Name**. |
53+
| Resource group location | The resource group location is selected for you if you selected an existing resource group for the child zone. </br> Select the resource group location if you created a new resource group for the child zone. </br> The resource group location doesn't affect your DNS zone service, which is global and not bound to a location. |
5454

55-
1. Select **Next: Review + create**.
56-
1. On the **Review + create** tab, review the summary, correct any validation errors, and then select **Create**.
57-
It may take a few minutes to create the zone.
55+
:::image type="content" source="./media/tutorial-public-dns-zones-child/child-zone-via-overview-page.png" alt-text="Screenshot of Create D N S zone page accessed via the Add child zone button.":::
5856

59-
:::image type="content" source="./media/dns-delegate-domain-azure-dns/create-dns-zone-inline.png" alt-text="Screenshot of the create DNS zone page." lightbox="./media/dns-delegate-domain-azure-dns/create-dns-zone-expanded.png":::
57+
> [!NOTE]
58+
> Parent zone information is automatically pre-populated with child zone option box already checked.
6059

61-
## Create child DNS zone via parent DNS zone overview page
62-
You can also create a new child DNS zone and delegate it into the parent DNS zone by using the **Child Zone** button from parent zone overview page. Using this button automatically pre-populates the parent parameters for the child zone automatically.
60+
1. Select **Review + create** button.
61+
1. Select **Create** button. It may take a few minutes to create the child zone.
6362

64-
1. In the Azure portal, under **All resources**, open the *contoso.com* DNS zone in the **MyResourceGroup** resource group. You can enter *contoso.com* in the **Filter by name** box to find it more easily.
65-
1. On DNS zone overview page, select the **+Child Zone** button.
6663

67-
:::image type="content" source="./media/dns-delegate-domain-azure-dns/create-child-zone-inline.png" alt-text="Screenshot child zone button." border="true" lightbox="./media/dns-delegate-domain-azure-dns/create-child-zone-expanded.png":::
64+
## Create a child DNS zone via Create DNS zone
6865

69-
1. The create DNS zone page will then open. Child zone option is already checked, and parent zone subscription and parent zone gets populated for you on this page.
70-
1. Type the name as *child* for this tutorial example. Notice that you parent DNS zone name contoso.com is automatically added as prefix to name.
71-
1. Select **Next: Tags** and then **Next: Review + create**.
72-
1. On the **Review + create** tab, review the summary, correct any validation errors, and then select **Create**.
66+
You'll create a new child DNS zone and delegate it to the parent DNS zone using the **Create DNS zone** page.
7367

74-
:::image type="content" source="./media/dns-delegate-domain-azure-dns/create-dns-zone-child-inline.png" alt-text="Screenshot of child zone selected" border="true" lightbox="./media/dns-delegate-domain-azure-dns/create-dns-zone-child-expanded.png":::
68+
1. On the Azure portal menu or from the **Home** page, select **Create a resource** and then select **Networking**.
69+
1. Select **DNS zone** and then select the **Create** button.
7570

76-
## Verify child DNS zone
77-
Now that you have a new child DNS zone *subdomain.contoso.com* created. To verify that delegation happened correctly, you'll want to check the nameserver(NS) records for your child zone is in the parent zone as described below.
71+
1. In **Create DNS zone**, enter or select this information in the **Basics** tab:
7872

79-
**Retrieve name servers of child DNS zone:**
73+
| Setting | Value |
74+
| ------- | ----- |
75+
| **Project details** | |
76+
| Subscription | Select your Azure subscription.|
77+
| Resource group | Select an existing resource group or create a new one by selecting **Create new**. </br> In this tutorial, the resource group **MyResourceGroup** of the parent DNS zone is selected. |
78+
| **Instance details** | |
79+
| This zone is a child of an existing zone already hosted in Azure DNS | Check this checkbox. |
80+
| Parent zone subscription | Select your Azure subscription under which parent DNS zone `contoso.com` was created. |
81+
| Parent zone | In the search bar, enter *contoso.com* to load it in dropdown list. Once loaded, select it from dropdown list. |
82+
| Name | Enter your child zone name. In this tutorial, *subdomain* is used. Notice that the parent DNS zone name `contoso.com` is automatically added as a suffix to **Name** after you selected parent zone from the previous step. |
83+
| Resource group location | The resource group location is selected for you if you selected an existing resource group for the child zone. </br> Select the resource group location if you created a new resource group for the child zone. </br> The resource group location doesn't affect your DNS zone service, which is global and not bound to a location. |
8084

81-
1. In the Azure portal, under **All resources**, open the *subdomain.contoso.com* DNS zone in the **MyResourceGroup** resource group. You can enter *subdomain.contoso.com* in the **Filter by name** box to find it more easily.
82-
1. Retrieve the name servers from the DNS zone overview page. In this example, the zone contoso.com has been assigned name servers *ns1-08.azure-dns.com, ns2-08.azure-dns.net, ns3-08.azure-dns.org*, and *ns4-08.azure-dns.info*:
85+
:::image type="content" source="./media/tutorial-public-dns-zones-child/child-zone-via-create-dns-zone-page.png" alt-text="Screenshot of Create D N S zone page accessed via the Create button of D N S zone page.":::
8386

84-
:::image type="content" source="./media/dns-delegate-domain-azure-dns/create-child-zone-ns-inline.png" alt-text="Screenshot of child zone nameservers" border="true" lightbox="./media/dns-delegate-domain-azure-dns/create-child-zone-ns-expanded.png":::
85-
**Verify the NS record in parent DNS zone:**
87+
1. Select **Review + create** button.
88+
1. Select **Create** button. It may take a few minutes to create the zone.
8689

87-
Now in this step we go the parent DNS zone *contoso.com* and check that its NS record set entry for the child zones nameservers has been created.
8890

89-
1. In the Azure portal, under **All resources**, open the contoso.com DNS zone in the **MyResourceGroup** resource group. You can enter contoso.com in the **Filter by name** box to find it more easily.
90-
1. On the *contoso.com* DNS zones overview page, check for the record sets.
91-
1. You'll find that record set of type NS and name subdomain is already created in parent DNS zone. Check the values for this record set it's similar to the nameserver list we retrieved from child DNS zone in above step.
91+
## Verify the child DNS zone
92+
93+
After the new child DNS zone `subdomain.contoso.com` created, verify that the delegation configured correctly. You'll need to check that your child zone name server (NS) records are in the parent zone as described below.
94+
95+
### Retrieve name servers of child DNS zone
96+
97+
1. In the Azure portal, enter *subdomain.contoso.com* in the search box at the top of the portal and then select **subdomain.contoso.com** DNS zone from the search results.
98+
99+
1. Retrieve the name servers from the DNS zone **Overview** page. In this example, the zone `subdomain.contoso.com` has been assigned name servers `ns1-05.azure-dns.com.`, `ns2-05.azure-dns.net.`, `ns3-05.azure-dns.org.`, and `ns4-05.azure-dns.info.`:
100+
101+
:::image type="content" source="./media/tutorial-public-dns-zones-child/child-zone-name-servers-inline.png" alt-text="Screenshot of child D N S zone Overview page showing its name servers." lightbox="./media/tutorial-public-dns-zones-child/child-zone-name-servers-expanded.png":::
102+
103+
### Check the NS record set in parent DNS zone
104+
105+
After retrieving the name servers from the child DNS zone, check that the parent DNS zone `contoso.com` has the NS record set entry for its child zone name servers.
106+
107+
1. In the Azure portal, enter *contoso.com* in the search box at the top of the portal and then select **contoso.com** DNS zone from the search results.
108+
1. Check the record sets in **Overview** page of **contoso.com** DNS zone.
109+
1. You'll find a record set of type **NS** and name **subdomain** created in the parent DNS zone. Compare the name servers in this record set with the ones you retrieved from the **Overview** page of the child DNS zone.
110+
111+
:::image type="content" source="./media/tutorial-public-dns-zones-child/parent-zone-name-servers-inline.png" alt-text="Screenshot of child zone name servers validation in the parent D N S zone Overview page." lightbox="./media/tutorial-public-dns-zones-child/parent-zone-name-servers-expanded.png":::
92112

93-
:::image type="content" source="./media/dns-delegate-domain-azure-dns/create-child-zone-ns-validate-inline.png" alt-text="Screenshot of Child zone nameservers validation" border="true" lightbox="./media/dns-delegate-domain-azure-dns/create-child-zone-ns-validate-expanded.png":::
94113
## Clean up resources
95-
When you no longer need the resources you created in this tutorial, remove them by deleting the **MyResourceGroup** resource group. Open the **MyResourceGroup** resource group, and select **Delete resource group**.
114+
115+
When no longer needed, you can delete all resources created in this tutorial by following these steps to delete the resource group **MyResourceGroup**:
116+
117+
1. On the Azure portal menu, select **Resource groups**.
118+
119+
2. Select the **MyResourceGroup** resource group.
120+
121+
3. Select **Delete resource group**.
122+
123+
4. Enter *MyResourceGroup* and select **Delete**.
124+
96125

97126
## Next steps
98127

0 commit comments

Comments
 (0)