Skip to content

Commit 6563fa9

Browse files
authored
Merge pull request #259681 from greg-lindsay/dns-freshness
editing subdomain article
2 parents db4c3b0 + d609c25 commit 6563fa9

File tree

7 files changed

+32
-37
lines changed

7 files changed

+32
-37
lines changed

articles/dns/delegate-subdomain.md

Lines changed: 28 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -5,72 +5,67 @@ services: dns
55
author: greg-lindsay
66
ms.service: dns
77
ms.topic: how-to
8-
ms.date: 09/27/2022
8+
ms.date: 11/28/2023
99
ms.author: greglin
1010
---
1111

1212
# Delegate an Azure DNS subdomain
1313

14-
You can use the Azure portal to delegate a DNS subdomain. For example, if you own the contoso.com domain, you may delegate a subdomain called *engineering* to another separate zone that you can administer separately from the contoso.com zone.
14+
You can use the Azure portal to delegate a DNS subdomain. For example, if you own the *adatum.com* domain, you can delegate a subdomain called *engineering.adatum.com* to another separate zone that you can administer separately from the adatum.com zone.
1515

16-
If you prefer, you can also delegate a subdomain using [Azure PowerShell](delegate-subdomain-ps.md).
16+
You can also delegate a subdomain using [Azure PowerShell](delegate-subdomain-ps.md).
1717

1818
## Prerequisites
1919

20-
To delegate an Azure DNS subdomain, you must first delegate your public domain to Azure DNS. See [Delegate a domain to Azure DNS](./dns-delegate-domain-azure-dns.md) for instructions on how to configure your name servers for delegation. Once your domain is delegated to your Azure DNS zone, you can delegate your subdomain.
20+
To delegate an Azure DNS subdomain, the parent public domain must first be delegated to Azure DNS. See [Delegate a domain to Azure DNS](./dns-delegate-domain-azure-dns.md) for instructions on how to configure your name servers for delegation. Once your domain is delegated to Azure DNS, you can delegate a subdomain.
2121

2222
> [!NOTE]
23-
> Contoso.com is used as an example throughout this article. Substitute your own domain name for contoso.com.
23+
> The `adatum.com` zone is used as an example of a parent DNS zone and `engineering.adatum.com` is used for the subdomain. Substitute your own domain names for these domains.
2424
25-
## Create a zone for your subdomain
25+
## Delegate a subdomain
2626

27-
First, create the zone for the **engineering** subdomain.
27+
The **engineering.adatum.com** subdomain can already exist. If it doesn't exist, it is created.
2828

29-
1. From the Azure portal, select **+ Create a resource**.
29+
To delegate the **engineering** subdomain under **adatum.com**:
3030

31-
1. Search for **DNS zone** and then select **Create**.
31+
1. From the Azure portal, search for **DNS zones** and select the **adatum.com** parent zone.
32+
2. Select **+ Child zone** and enter **engineering** next to **Name**. The **Create DNS zone** window opens.
3233

33-
1. On the **Create DNS zone** page, select the resource group for your zone. You may want to use the same resource group as the parent zone to keep similar resources together.
34+
![A screenshot showing creation of a child DNS zone.](./media/delegate-subdomain/new-child-zone.png)
3435

35-
1. Enter `engineering.contoso.com` for the **Name** and then select **Create**.
36+
3. If desired, change the **Subscription** and **Resource group**. In this example, we use the same subscription and resource group as the parent zone.
37+
4. Select **Review create**, and then select **Create**.
38+
5. When deployment is complete, select **Go to resource** to view the new delegated zone: **engineering.adatum.com**.
3639

37-
1. After the deployment succeeds, go to the new zone.
40+
[ ![A screenshot showing contents of the child zone.](./media/delegate-subdomain/child-zone-contents.png) ](./media/delegate-subdomain/child-zone-contents.png#lightbox)
3841

39-
## Note the name servers
42+
6. Select the parent **adatum.com** zone again and notice that an **NS** record has been added with the name **engineering** and contents the same as NS records in the child zone. You might need to refresh the page. These are the Azure DNS nameservers that are authoritative for the subdomain (child zone).
4043

41-
Next, note the four name servers for the engineering subdomain.
44+
[ ![A screenshot showing contents of the parent zone.](./media/delegate-subdomain/parent-zone-contents.png) ](./media/delegate-subdomain/parent-zone-contents.png#lightbox)
4245

43-
On the **engineering** zone overview page, note the four name servers for the zone. You'll need these name servers at a later time.
46+
## Manual entry of NS records (optional)
4447

45-
## Create a test record
46-
47-
Create an **A** record to use for testing. For example, create a **www** A record and configure it with a **10.10.10.10** IP address.
48-
49-
## Create an NS record
50-
51-
Next, create a name server (NS) record for the **engineering** zone.
48+
If desired, you can also create your subdomain and add the subdomain NS record manually.
5249

53-
1. Navigate to the zone for the parent domain.
50+
To create a new subdomain zone, use **Create a resource > DNS zone** and create a zone named **engineering.adatum.com**.
5451

55-
1. Select **+ Record set** at the top of the overview page.
52+
To create a subdomain delegation manually, add a new NS record set (**+ Record set** option) to the parent zone **adatum.com** with the name: **engineering** and specify each of the nameserver entries that are listed in the subdomain (child) zone.
5653

57-
1. On the **Add record set** page, type **engineering** in the **Name** text box.
54+
<br><img src="./media/delegate-subdomain/add-ns-record-set.png" alt="A screenshot showing how to add an NS record set." width="50%">
5855

59-
1. For **Type**, select **NS**.
56+
This method doesn't use the **+ Child zone** option, but both methods result in the same delegation.
6057

61-
1. Under **Name server**, enter the four name servers that you noted previously from the **engineering** zone.
58+
## Create a test record
6259

63-
1. Select **OK** to save the record.
60+
Next, create an **A** record in the **engineering.adatum.com** zone to use for testing. For example, create a **www** A record and configure it with a **10.10.10.10** IP address.
6461

6562
## Test the delegation
6663

6764
Use nslookup to test the delegation.
6865

69-
1. Open a PowerShell window.
70-
71-
1. At command prompt, type `nslookup www.engineering.contoso.com.`
72-
73-
1. You should receive a non-authoritative answer showing the address **10.10.10.10**.
66+
1. Open a command prompt.
67+
2. At command prompt, type `nslookup www.engineering.adatum.com.`
68+
3. You should receive a non-authoritative answer showing the address **10.10.10.10**.
7469

7570
## Next steps
7671

articles/dns/dns-operations-recordsets-portal.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: dns
55
author: greg-lindsay
66
ms.service: dns
77
ms.topic: how-to
8-
ms.date: 09/27/2022
8+
ms.date: 11/27/2023
99
ms.author: greglin
1010
---
1111

@@ -21,9 +21,9 @@ To create a record set in the Azure portal, see [Create DNS records by using the
2121

2222
## View a record set
2323

24-
1. In the Azure portal, go to the **DNS zone** overview page.
24+
1. In the Azure portal, go to the **DNS zones** overview page.
2525

26-
1. Search for the record set and select it will open the record set properties.
26+
1. Select your DNS zone. The current record sets are displayed.
2727

2828
:::image type="content" source="./media/dns-operations-recordsets-portal/overview.png" alt-text="Screenshot of contosotest.com zone overview page.":::
2929

articles/dns/index.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ metadata:
1111
ms.topic: landing-page
1212
author: greg-lindsay
1313
ms.author: greglin
14-
ms.date: 09/27/2022
14+
ms.date: 11/27/2023
1515

1616
# linkListType: architecture | concept | deploy | download | get-started | how-to-guide | learn | overview | quickstart | reference | tutorial | whats-new
1717

40.8 KB
Loading
209 KB
Loading
106 KB
Loading
216 KB
Loading

0 commit comments

Comments
 (0)