You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-network/virtual-networks-name-resolution-for-vms-and-role-instances.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,8 @@ author: greg-lindsay
7
7
ms.service: dns
8
8
ms.topic: how-to
9
9
ms.workload: infrastructure-services
10
-
ms.date: 09/22/2022
11
-
ms.author: allensu
10
+
ms.date: 04/27/2023
11
+
ms.author: greglin
12
12
ms.custom: fasttrack-edit
13
13
---
14
14
@@ -157,7 +157,7 @@ DNS is primarily a UDP protocol. Because the UDP protocol doesn't guarantee mess
157
157
158
158
Check the current settings on a Linux VM with `cat /etc/resolv.conf`. Look at the *options* line, for example:
159
159
160
-
```bash
160
+
```output
161
161
options timeout:1 attempts:5
162
162
```
163
163
@@ -202,7 +202,7 @@ When you're using Azure-provided name resolution, Azure Dynamic Host Configurati
202
202
If necessary, you can determine the internal DNS suffix by using PowerShell or the API:
203
203
204
204
* For virtual networks in Azure Resource Manager deployment models, the suffix is available via the [network interface REST API](/rest/api/virtualnetwork/networkinterfaces), the [Get-AzNetworkInterface](/powershell/module/az.network/get-aznetworkinterface) PowerShell cmdlet, and the [az network nic show](/cli/azure/network/nic#az-network-nic-show) Azure CLI command.
205
-
* In classic deployment models, the suffix is available via the [Get Deployment API](/previous-versions/azure/reference/ee460804(v=azure.100)) call or the [Get-AzureVM -Debug](/powershell/module/servicemanagement/azure.service/get-azurevm) cmdlet.
205
+
* In classic deployment models, the suffix is available via the [Get Deployment API](/previous-versions/azure/reference/ee460804(v=azure.100)) call or the [Get-AzVM -Debug](/powershell/module/az.compute/get-azvm) cmdlet.
206
206
207
207
If forwarding queries to Azure doesn't suit your needs, provide your own DNS solution or deploy an [Azure DNS Private Resolver](../dns/dns-private-resolver-overview.md).
208
208
@@ -249,7 +249,7 @@ When you're using the Azure Resource Manager deployment model, you can specify D
249
249
> [!NOTE]
250
250
> If you opt for custom DNS server for your virtual network, you must specify at least one DNS server IP address; otherwise, virtual network will ignore the configuration and use Azure-provided DNS instead.
251
251
252
-
When you're using the classic deployment model, you can specify DNS servers for the virtual network in the Azure portal or the [Network Configuration file](/previous-versions/azure/reference/jj157100(v=azure.100)). For cloud services, you can specify DNS servers via the [Service Configuration file](/previous-versions/azure/reference/ee758710(v=azure.100)) or by using PowerShell, with [New-AzureVM](/powershell/module/servicemanagement/azure.service/new-azurevm).
252
+
When you're using the classic deployment model, you can specify DNS servers for the virtual network in the Azure portal or the [Network Configuration file](/previous-versions/azure/reference/jj157100(v=azure.100)). For cloud services, you can specify DNS servers via the [Service Configuration file](/previous-versions/azure/reference/ee758710(v=azure.100)) or by using PowerShell, with [New-AzVM](/powershell/module/az.compute/new-azvm).
253
253
254
254
> [!NOTE]
255
255
> If you change the DNS settings for a virtual network or virtual machine that is already deployed, for the new DNS settings to take effect, you must perform a DHCP lease renewal on all affected VMs in the virtual network. For VMs running the Windows OS, you can do this by typing `ipconfig /renew` directly in the VM. The steps vary depending on the OS. See the relevant documentation for your OS type.
0 commit comments