Skip to content

Commit b5e237f

Browse files
Merge pull request #233683 from mattmcinnes/patch-51
[Doc-a-thon] Updating static-dns-name-resolution-for-linux-on-azure.md
2 parents fd46b93 + 67dc93a commit b5e237f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

articles/virtual-machines/linux/static-dns-name-resolution-for-linux-on-azure.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
---
22
title: Use internal DNS for VM name resolution with the Azure CLI
33
description: How to create virtual network interface cards and use internal DNS for VM name resolution on Azure with the Azure CLI.
4-
author: cynthn
4+
author: mattmcinnes
55
ms.service: virtual-machines
66
ms.subservice: networking
77
ms.workload: infrastructure-services
88
ms.custom: devx-track-azurecli
99
ms.topic: how-to
10-
ms.date: 02/16/2017
11-
ms.author: cynthn
10+
ms.date: 04/06/2023
11+
ms.author: mattmcinnes
12+
ms.reviewer: cynthn
1213
---
1314

1415
# Create virtual network interface cards and use internal DNS for VM name resolution on Azure
@@ -54,9 +55,9 @@ az vm create \
5455

5556
## Detailed walkthrough
5657

57-
A full continuous integration and continuous deployment (CiCd) infrastructure on Azure requires certain servers to be static or long-lived servers. It is recommended that Azure assets like the virtual networks and Network Security Groups are static and long lived resources that are rarely deployed. Once a virtual network has been deployed, it can be reused by new deployments without any adverse affects to the infrastructure. You can later add a Git repository server or a Jenkins automation server delivers CiCd to this virtual network for your development or test environments.
58+
A full continuous integration and continuous deployment (CiCd) infrastructure on Azure requires certain servers to be static or long-lived servers. It's recommended that Azure assets like the virtual networks and Network Security Groups are static and long lived resources that are rarely deployed. Once a virtual network has been deployed, it can be reused in new deployments without any adverse affects to the infrastructure. You can later add a Git repository server or a Jenkins automation server delivers CiCd to this virtual network for your development or test environments.
5859

59-
Internal DNS names are only resolvable inside an Azure virtual network. Because the DNS names are internal, they are not resolvable to the outside internet, providing additional security to the infrastructure.
60+
Internal DNS names are only resolvable inside an Azure virtual network. Because the DNS names are internal, they aren't resolvable to the outside internet, providing extra security to the infrastructure.
6061

6162
In the following examples, replace example parameter names with your own values. Example parameter names include `myResourceGroup`, `myNic`, and `myVM`.
6263

@@ -124,7 +125,7 @@ az network vnet subnet update \
124125

125126

126127
## Create the virtual network interface card and static DNS names
127-
Azure is very flexible, but to use DNS names for VM name resolution, you need to create virtual network interface cards (vNics) that include a DNS label. vNics are important as you can reuse them by connecting them to different VMs over the infrastructure lifecycle. This approach keeps the vNic as a static resource while the VMs can be temporary. By using DNS labeling on the vNic, we are able to enable simple name resolution from other VMs in the VNet. Using resolvable names enables other VMs to access the automation server by the DNS name `Jenkins` or the Git server as `gitrepo`.
128+
To use DNS names for VM name resolution, you need to create virtual network interface cards (vNics) that include a DNS label. vNics are important as you can reuse them by connecting them to different VMs over the infrastructure lifecycle. This approach keeps the vNic as a static resource while the VMs can be temporary. By using DNS labeling on the vNic, we're able to enable simple name resolution from other VMs in the VNet. Using resolvable names enables other VMs to access the automation server by the DNS name `Jenkins` or the Git server as `gitrepo`.
128129

129130
Create the vNic with [az network nic create](/cli/azure/network/nic). The following example creates a vNic named `myNic`, connects it to the `myVnet` virtual network named `myVnet`, and creates an internal DNS name record called `jenkins`:
130131

0 commit comments

Comments
 (0)