Skip to content

Commit a5dc33b

Browse files
Merge pull request #89095 from vhorne/dns-priv-qs
toc update
2 parents 8772a2c + dd1f9e7 commit a5dc33b

9 files changed

+83
-125
lines changed

.openpublishing.redirection.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10790,6 +10790,16 @@
1079010790
"redirect_url": "/azure/dns/dns-reverse-dns-for-azure-services",
1079110791
"redirect_document_id": false
1079210792
},
10793+
{
10794+
"source_path": "articles/dns/scripts/traffic-manager-cli-create-dns-zone-record.md",
10795+
"redirect_url": "/azure/dns/scripts/dns-cli-create-dns-zone-record",
10796+
"redirect_document_id": false
10797+
},
10798+
{
10799+
"source_path": "articles/dns/private-dns-portal.md",
10800+
"redirect_url": "/azure/dns/private-dns-getstarted-portal",
10801+
"redirect_document_id": false
10802+
},
1079310803
{
1079410804
"source_path": "articles/data-lake-analytics/data-lake-analytics-get-started-net-sdk.md",
1079510805
"redirect_url": "/azure/data-lake-analytics/data-lake-analytics-get-started-cli2",

articles/dns/TOC.yml

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,22 @@
99
- name: Quickstarts
1010
expanded: true
1111
items:
12-
- name: Name resolution - portal
13-
href: dns-getstarted-portal.md
14-
- name: Name resolution - PowerShell
15-
href: dns-getstarted-powershell.md
16-
- name: Name resolution - CLI
17-
href: dns-getstarted-cli.md
12+
- name: Public DNS
13+
items:
14+
- name: Create a public zone - portal
15+
href: dns-getstarted-portal.md
16+
- name: Create a public zone - PowerShell
17+
href: dns-getstarted-powershell.md
18+
- name: Create a public zone - CLI
19+
href: dns-getstarted-cli.md
20+
- name: Private DNS
21+
items:
22+
- name: Create a private zone - portal
23+
href: private-dns-getstarted-portal.md
24+
- name: Create a private zone - CLI
25+
href: private-dns-getstarted-cli.md
26+
- name: Create a private zone - PowerShell
27+
href: private-dns-getstarted-powershell.md
1828
- name: Tutorials
1929
items:
2030
- name: Public DNS
@@ -29,11 +39,6 @@
2939
href: tutorial-alias-pip.md
3040
- name: Alias records for zone records
3141
href: tutorial-alias-rr.md
32-
- name: Private DNS
33-
items:
34-
- name: Create private DNS zone and record
35-
href: private-dns-portal.md
36-
3742
- name: Samples
3843
items:
3944
- name: Azure CLI
@@ -64,12 +69,6 @@
6469
href: private-dns-scenarios.md
6570
- name: How to
6671
items:
67-
- name: Private DNS
68-
items:
69-
- name: Create private zone - CLI
70-
href: private-dns-getstarted-cli.md
71-
- name: Create private zone - PowerShell
72-
href: private-dns-getstarted-powershell.md
7372
- name: Public DNS
7473
items:
7574
- name: Alias records for load balanced web apps

articles/dns/cli-samples.md

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,21 @@
11
---
2-
title: Azure CLI samples for Traffic Manager| Microsoft Docs
3-
description: Azure CLI samples for Traffic Manager
4-
services: traffic-manager
5-
documentationcenter: traffic-manager
2+
title: Azure CLI samples for DNS
3+
description: Azure CLI samples for DNS
4+
services: dns
65
author: vhorne
7-
manager: jeconnoc
8-
editor: tysonn
9-
tags:
10-
ms.assetid:
11-
ms.service: traffic-manager
12-
ms.devlang: na
6+
ms.service: dns
137
ms.topic: sample
14-
ms.tgt_pltfrm:
15-
ms.workload: infrastructure
16-
ms.date: 04/30/2018
8+
ms.date: 09/20/2019
179
ms.author: victorh
1810

1911
---
20-
# Azure CLI samples for Traffic Manager
12+
# Azure CLI examples for Azure DNS
2113

22-
The following table includes link to bash script for Traffic Manager built using the Azure CLI.
14+
The following table includes links to Azure CLI examples for Azure DNS.
2315

2416
| | |
2517
|-|-|
26-
| [Create a DNS zone and record](./scripts/traffic-manager-cli-create-dns-zone-record.md) | Creates a DNS zone and record for a domain name. |
18+
| [Create a DNS zone and record](./scripts/dns-cli-create-dns-zone-record.md) | Creates a DNS zone and record for a domain name. |
2719
| | |
2820

2921

articles/dns/dns-faq-private.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,12 @@ services: dns
55
author: vhorne
66
ms.service: dns
77
ms.topic: article
8-
ms.date: 6/12/2019
8+
ms.date: 09/20/2019
99
ms.author: victorh
1010
---
1111
# Azure Private DNS FAQ
1212

13-
> [!IMPORTANT]
14-
> Azure Private DNS is currently in public preview.
15-
> This preview version is provided without a service level agreement, and it's not recommended for production workloads. Certain features might not be supported or might have constrained capabilities.
16-
> For more information, see [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
13+
[!INCLUDE [private-dns-public-preview-notice](../../includes/private-dns-public-preview-notice.md)]
1714

1815
## Does Azure DNS support private domains?
1916

@@ -23,11 +20,11 @@ For information on other internal DNS options in Azure, see [Name resolution for
2320

2421
## Will Azure DNS Private Zones work across Azure regions?
2522

26-
Yes. Private Zones is supported for DNS resolution between virtual networks across Azure regions. Private Zones works even without explicitly peering the virtual networks. All the virtual networks must be specified as Resolution virtual networks for the private zone. Customers might need the virtual networks to be peered for TCP/HTTP traffic to flow from one region to another.
23+
Yes. Private Zones is supported for DNS resolution between virtual networks across Azure regions. Private Zones works even without explicitly peering the virtual networks. All the virtual networks must be specified as Resolution virtual networks for the private zone. You might need the virtual networks to be peered for TCP/HTTP traffic to flow from one region to another.
2724

2825
## Is connectivity to the Internet from virtual networks required for private zones?
2926

30-
No. Private zones work along with virtual networks. Customers use them to manage domains for virtual machines or other resources within and across virtual networks. Internet connectivity isn't required for name resolution.
27+
No. Private zones work along with virtual networks. You use them to manage domains for virtual machines or other resources within and across virtual networks. Internet connectivity isn't required for name resolution.
3128

3229
## Can the same private zone be used for several virtual networks for resolution?
3330

articles/dns/private-dns-getstarted-cli.md

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
---
2-
title: Create an Azure DNS private zone using the Azure CLI
3-
description: In this procedure, you create and test a private DNS zone and record in Azure DNS. This is a step-by-step guide to create and manage your first private DNS zone and record using Azure CLI.
2+
title: Quickstart - Create an Azure private DNS zone using the Azure CLI
3+
description: In this quickstart, you create and test a private DNS zone and record in Azure DNS. This is a step-by-step guide to create and manage your first private DNS zone and record using Azure CLI.
44
services: dns
55
author: vhorne
66
ms.service: dns
7-
ms.topic: article
8-
ms.date: 6/13/2019
7+
ms.topic: quickstart
8+
ms.date: 09/20/2019
99
ms.author: victorh
10-
#Customer intent: As an experienced network administrator I want to create an Azure DNS private zone, so I can resolve host names on my private virtual networks.
10+
#Customer intent: As an experienced network administrator I want to create an Azure private DNS zone, so I can resolve host names on my private virtual networks.
1111
---
1212

13-
# Create an Azure DNS private zone using the Azure CLI
13+
# Create an Azure private DNS zone using the Azure CLI
1414

1515
[!INCLUDE [private-dns-public-preview-notice](../../includes/private-dns-public-preview-notice.md)]
1616

17-
This procedure walks you through the steps to create your first private DNS zone and record using the Azure CLI.
17+
This quickstart walks you through the steps to create your first private DNS zone and record using the Azure CLI.
1818

1919
A DNS zone is used to host the DNS records for a particular domain. To start hosting your domain in Azure DNS, you need to create a DNS zone for that domain name. Each DNS record for your domain is then created inside this DNS zone. To publish a private DNS zone to your virtual network, you specify the list of virtual networks that are allowed to resolve records within the zone. These are called *linked* virtual networks. When autoregistration is enabled, Azure DNS also updates the zone records whenever a virtual machine is created, changes its' IP address, or is deleted.
2020

21-
In this procedure, you learn how to:
21+
In this quickstart, you learn how to:
2222

2323
> [!div class="checklist"]
24-
> * Create a DNS private zone
24+
> * Create a private DNS zone
2525
> * Create test virtual machines
2626
> * Create an additional DNS record
2727
> * Test the private zone
2828
2929
If you don’t have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
3030

31-
If you prefer, you can complete this procedure using [Azure PowerShell](private-dns-getstarted-powershell.md).
31+
If you prefer, you can complete this quickstart using [Azure PowerShell](private-dns-getstarted-powershell.md).
3232

3333
[!INCLUDE [cloud-shell-try-it.md](../../includes/cloud-shell-try-it.md)]
3434

@@ -40,7 +40,7 @@ First, create a resource group to contain the DNS zone:
4040
az group create --name MyAzureResourceGroup --location "East US"
4141
```
4242

43-
## Create a DNS private zone
43+
## Create a private DNS zone
4444

4545
The following example creates a virtual network named **myAzureVNet**. Then it creates a DNS zone named **private.contoso.com** in the **MyAzureResourceGroup** resource group, links the DNS zone to the **MyAzureVnet** virtual network, and enables automatic registration.
4646

@@ -202,16 +202,14 @@ Repeat for myVM02.
202202

203203
## Delete all resources
204204

205-
When no longer needed, delete the **MyAzureResourceGroup** resource group to delete the resources created in this procedure.
205+
When no longer needed, delete the **MyAzureResourceGroup** resource group to delete the resources created in this quickstart.
206206

207207
```azurecli
208208
az group delete --name MyAzureResourceGroup
209209
```
210210

211211
## Next steps
212212

213-
In this procedure, you deployed a private DNS zone, created a DNS record, and tested the zone.
214-
Next, you can learn more about private DNS zones.
215-
216213
> [!div class="nextstepaction"]
217-
> [Using Azure DNS for private domains](private-dns-overview.md)
214+
> [Azure DNS Private Zones scenarios](private-dns-scenarios.md)
215+

articles/dns/private-dns-portal.md renamed to articles/dns/private-dns-getstarted-portal.md

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
---
2-
title: Create an Azure DNS private zone using the Azure portal
3-
description: In this tutorial, you create and test a private DNS zone and record in Azure DNS. This is a step-by-step guide to create and manage your first private DNS zone and record using the Azure portal.
2+
title: Quickstart - Create an Azure private DNS zone using the Azure portal
3+
description: In this quickstart, you create and test a private DNS zone and record in Azure DNS. This is a step-by-step guide to create and manage your first private DNS zone and record using the Azure portal.
44
services: dns
55
author: vhorne
66
ms.service: dns
7-
ms.topic: tutorial
8-
ms.date: 6/15/2019
7+
ms.topic: quickstart
8+
ms.date: 09/20/2019
99
ms.author: victorh
10-
#Customer intent: As an experienced network administrator I want to create an Azure DNS private zone, so I can resolve host names on my private virtual networks.
10+
#Customer intent: As an experienced network administrator I want to create an Azure private DNS zone, so I can resolve host names on my private virtual networks.
1111
---
1212

13-
# Tutorial: Create an Azure DNS private zone using the Azure portal
13+
# Quickstart: Create an Azure private DNS zone using the Azure portal
1414

15-
This tutorial walks you through the steps to create your first private DNS zone and record using the Azure portal.
15+
This quickstart walks you through the steps to create your first private DNS zone and record using the Azure portal.
1616

1717
[!INCLUDE [private-dns-public-preview-notice](../../includes/private-dns-public-preview-notice.md)]
1818

1919
A DNS zone is used to host the DNS records for a particular domain. To start hosting your domain in Azure DNS, you need to create a DNS zone for that domain name. Each DNS record for your domain is then created inside this DNS zone. To publish a private DNS zone to your virtual network, you specify the list of virtual networks that are allowed to resolve records within the zone. These are called *linked* virtual networks. When autoregistration is enabled, Azure DNS also updates the zone records whenever a virtual machine is created, changes its' IP address, or is deleted.
2020

21-
In this tutorial, you learn how to:
21+
In this quickstart, you learn how to:
2222

2323
> [!div class="checklist"]
24-
> * Create a DNS private zone
24+
> * Create a private DNS zone
2525
> * Create a virtual network
2626
> * Link the virtual network
2727
> * Create test virtual machines
@@ -30,9 +30,9 @@ In this tutorial, you learn how to:
3030
3131
If you don’t have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
3232

33-
If you prefer, you can complete this tutorial using [Azure PowerShell](private-dns-getstarted-powershell.md) or [Azure CLI](private-dns-getstarted-cli.md).
33+
If you prefer, you can complete this quickstart using [Azure PowerShell](private-dns-getstarted-powershell.md) or [Azure CLI](private-dns-getstarted-cli.md).
3434

35-
## Create a DNS private zone
35+
## Create a private DNS zone
3636

3737
The following example creates a DNS zone called **private.contoso.com** in a resource group called **MyAzureResourceGroup**.
3838

@@ -173,13 +173,11 @@ Repeat for myVM02.
173173

174174
## Delete all resources
175175

176-
When no longer needed, delete the **MyAzureResourceGroup** resource group to delete the resources created in this tutorial.
176+
When no longer needed, delete the **MyAzureResourceGroup** resource group to delete the resources created in this quickstart.
177177

178178

179179
## Next steps
180180

181-
In this tutorial, you deployed a private DNS zone, created a DNS record, and tested the zone.
182-
Next, you can learn more about private DNS zones.
183-
184181
> [!div class="nextstepaction"]
185-
> [Using Azure DNS for private domains](private-dns-overview.md)
182+
> [Azure DNS Private Zones scenarios](private-dns-scenarios.md)
183+

articles/dns/private-dns-getstarted-powershell.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
---
2-
title: Create an Azure DNS private zone using Azure PowerShell
2+
title: Quickstart - Create an Azure private DNS zone using Azure PowerShell
33
description: In this article, you create and test a private DNS zone and record in Azure DNS. This is a step-by-step guide to create and manage your first private DNS zone and record using Azure PowerShell.
44
services: dns
55
author: vhorne
66
ms.service: dns
7-
ms.topic: article
8-
ms.date: 06/14/2019
7+
ms.topic: quickstart
8+
ms.date: 09/20/2019
99
ms.author: victorh
10-
#Customer intent: As an experienced network administrator I want to create an Azure DNS private zone, so I can resolve host names on my private virtual networks.
10+
#Customer intent: As an experienced network administrator I want to create an Azure private DNS zone, so I can resolve host names on my private virtual networks.
1111
---
1212

13-
# Create an Azure DNS private zone using Azure PowerShell
13+
# Create an Azure private DNS zone using Azure PowerShell
1414

1515
[!INCLUDE [private-dns-public-preview-notice](../../includes/private-dns-public-preview-notice.md)]
1616

@@ -23,7 +23,7 @@ A DNS zone is used to host the DNS records for a particular domain. To start hos
2323
In this article, you learn how to:
2424

2525
> [!div class="checklist"]
26-
> * Create a DNS private zone
26+
> * Create a private DNS zone
2727
> * Create test virtual machines
2828
> * Create an additional DNS record
2929
> * Test the private zone
@@ -32,7 +32,7 @@ In this article, you learn how to:
3232

3333
If you don’t have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
3434

35-
If you prefer, you can complete this procedure using [Azure CLI](private-dns-getstarted-cli.md).
35+
If you prefer, you can complete this quickstart using [Azure CLI](private-dns-getstarted-cli.md).
3636

3737
## Create the resource group
3838

@@ -42,7 +42,7 @@ First, create a resource group to contain the DNS zone:
4242
New-AzResourceGroup -name MyAzureResourceGroup -location "eastus"
4343
```
4444

45-
## Create a DNS private zone
45+
## Create a private DNS zone
4646

4747
A DNS zone is created by using the `New-AzPrivateDnsZone` cmdlet.
4848

@@ -205,7 +205,5 @@ Remove-AzResourceGroup -Name MyAzureResourceGroup
205205

206206
## Next steps
207207

208-
In this article, you deployed a private DNS zone, created a DNS record, and tested the zone.
209-
Next, you can learn more about private DNS zones.
210-
211-
* [Using Azure DNS for private domains](private-dns-overview.md)
208+
> [!div class="nextstepaction"]
209+
> [Azure DNS Private Zones scenarios](private-dns-scenarios.md)

articles/dns/scripts/traffic-manager-cli-create-dns-zone-record.md renamed to articles/dns/scripts/dns-cli-create-dns-zone-record.md

Lines changed: 5 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,11 @@
11
---
2-
title: CLI Example - Create a DNS zone and record for a domain name - Azure | Microsoft Docs
2+
title: Azure CLI Example - Create a DNS zone and record for a domain name
33
description: This Azure CLI script example shows how to create a DNS zone and record for a domain name
4-
services: load-balancer
5-
documentationcenter: traffic-manager
4+
services: dns
65
author: vhorne
7-
manager: jeconnoc
8-
editor: tysonn
9-
tags:
10-
11-
ms.assetid:
12-
ms.service: traffic-manager
13-
ms.devlang: azurecli
6+
ms.service: dns
147
ms.topic: sample
15-
ms.tgt_pltfrm:
16-
ms.workload: infrastructure
17-
ms.date: 04/30/2018
8+
ms.date: 09/20/2019
189
ms.author: victorh
1910
---
2011

@@ -28,32 +19,7 @@ This Azure CLI script example creates a DNS zone and record for a domain name.
2819

2920
## Sample script
3021

31-
```azurecli-interactive
32-
33-
# Create a resource group.
34-
az group create \
35-
-n myResourceGroup \
36-
-l eastus
37-
38-
# Create a DNS zone. Substitute zone name "contoso.com" with the values for your own.
39-
40-
az network dns zone create \
41-
-g MyResourceGroup \
42-
-n contoso.com
43-
44-
# Create a DNS record. Substitute zone name "contoso.com" and IP address "1.2.3.4* with the values for your own.
45-
46-
az network dns record-set a add-record \
47-
-g MyResourceGroup \
48-
-z contoso.com \
49-
-n www \
50-
-a 1.2.3.4
51-
52-
# Get a list the DNS records in your zone
53-
az network dns record-set list \
54-
-g MyResourceGroup \
55-
-z contoso.com
56-
```
22+
[!code-azurecli-interactive[main](../../../cli_scripts/dns/create-dns-zone-and-record/create-dns-zone-and-record.sh "Create DNS zone and record")]
5723

5824
## Clean up deployment
5925

0 commit comments

Comments
 (0)