Skip to content

Commit 40cbf71

Browse files
authored
Merge pull request #278964 from fossygirl/centos-azure-dns
Remove CentOS references and section
2 parents 5a71725 + bd402fa commit 40cbf71

File tree

1 file changed

+11
-19
lines changed

1 file changed

+11
-19
lines changed

articles/virtual-machines/linux/azure-dns.md

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ ms.collection: linux
1212
---
1313
# DNS Name Resolution options for Linux virtual machines in Azure
1414

15-
> [!CAUTION]
16-
> This article references CentOS, a Linux distribution that is nearing End Of Life (EOL) status. Please consider your use and plan accordingly. For more information, see the [CentOS End Of Life guidance](~/articles/virtual-machines/workloads/centos/centos-end-of-life.md).
17-
1815
**Applies to:** :heavy_check_mark: Linux VMs :heavy_check_mark: Flexible scale sets
1916

2017
Azure provides DNS name resolution by default for all virtual machines that are in a single virtual network. You can implement your own DNS name resolution solution by configuring your own DNS services on your virtual machines that Azure hosts. The following scenarios should help you choose the one that works for your situation.
@@ -36,7 +33,7 @@ The following table illustrates scenarios and corresponding name resolution solu
3633

3734
## Name resolution that Azure provides
3835

39-
Along with resolution of public DNS names, Azure provides internal name resolution for virtual machines and role instances that are in the same virtual network. In virtual networks that are based on Azure Resource Manager, the DNS suffix is consistent across the virtual network; the FQDN is not needed. DNS names can be assigned to both network interface cards (NICs) and virtual machines. Although the name resolution that Azure provides does not require any configuration, it is not the appropriate choice for all deployment scenarios, as seen on the preceding table.
36+
Along with resolution of public DNS names, Azure provides internal name resolution for virtual machines and role instances that are in the same virtual network. In virtual networks that are based on Azure Resource Manager, the DNS suffix is consistent across the virtual network; the FQDN isn't needed. DNS names can be assigned to both network interface cards (NICs) and virtual machines. Although the name resolution that Azure provides does not require any configuration, it isn't the appropriate choice for all deployment scenarios, as seen on the preceding table.
4037

4138
### Features and considerations
4239

@@ -50,20 +47,20 @@ Along with resolution of public DNS names, Azure provides internal name resoluti
5047

5148
**Considerations:**
5249

53-
* The DNS suffix that Azure creates cannot be modified.
54-
* You cannot manually register your own records.
55-
* WINS and NetBIOS are not supported.
50+
* The DNS suffix that Azure creates can't be modified.
51+
* You can't manually register your own records.
52+
* WINS and NetBIOS aren't supported.
5653
* Hostnames must be DNS-compatible.
57-
Names must use only 0-9, a-z, and '-', and they cannot start or end with a '-'. See RFC 3696 Section 2.
54+
Names must use only 0-9, a-z, and '-', and they can't start or end with a '-'. See RFC 3696 Section 2.
5855
* DNS query traffic is throttled for each virtual machine. Throttling shouldn't impact most applications. If request throttling is observed, ensure that client-side caching is enabled. For more information, see [Getting the most from name resolution that Azure provides](#getting-the-most-from-name-resolution-that-azure-provides).
5956

6057
### Getting the most from name resolution that Azure provides\
6158

6259
**Client-side caching:**
6360

64-
Some DNS queries are not sent across the network. Client-side caching helps reduce latency and improve resilience to network inconsistencies by resolving recurring DNS queries from a local cache. DNS records contain a Time-To-Live (TTL), which enables the cache to store the record for as long as possible without impacting record freshness. As a result, client-side caching is suitable for most situations.
61+
Some DNS queries aren't sent across the network. Client-side caching helps reduce latency and improve resilience to network inconsistencies by resolving recurring DNS queries from a local cache. DNS records contain a Time-To-Live (TTL), which enables the cache to store the record for as long as possible without impacting record freshness. As a result, client-side caching is suitable for most situations.
6562

66-
Some Linux distributions do not include caching by default. We recommend that you add a cache to each Linux virtual machine after you check that there isn't a local cache already.
63+
Some Linux distributions don't include caching by default. We recommend that you add a cache to each Linux virtual machine after you check that there isn't a local cache already.
6764

6865
Several different DNS caching packages, such as dnsmasq, are available. Here are the steps to install dnsmasq on the most common distributions:
6966

@@ -114,7 +111,7 @@ sudo systemctl start dnsmasq.service
114111
sudo netconfig update
115112
```
116113

117-
# [CentOS/RHEL](#tab/rhel)
114+
# [RHEL](#tab/rhel)
118115

119116
1. Install the dnsmasq package:
120117

@@ -168,7 +165,7 @@ sudo cat /etc/resolv.conf
168165
options timeout:1 attempts:5
169166
```
170167

171-
The `/etc/resolv.conf` file is auto-generated and should not be edited. The specific steps that add the 'options' line vary by distribution:
168+
The `/etc/resolv.conf` file is auto-generated and shouldn't be edited. The specific steps that add the 'options' line vary by distribution:
172169

173170
**Ubuntu** (uses resolvconf)
174171

@@ -180,11 +177,6 @@ The `/etc/resolv.conf` file is auto-generated and should not be edited. The spec
180177
1. Add `timeout:1 attempts:5` to the `NETCONFIG_DNS_RESOLVER_OPTIONS=""` parameter in `/etc/sysconfig/network/config`.
181178
2. Run `sudo netconfig update` to update.
182179

183-
**CentOS by Rogue Wave Software (formerly OpenLogic)** (uses NetworkManager)
184-
185-
1. Add `RES_OPTIONS="timeout:1 attempts:5"` to `/etc/sysconfig/network`.
186-
2. Run `systemctl restart NetworkManager` to update.
187-
188180
## Name resolution using your own DNS server
189181

190182
Your name resolution needs may go beyond the features that Azure provides. For example, you might require DNS resolution between virtual networks. To cover this scenario, you can use your own DNS servers.
@@ -195,13 +187,13 @@ DNS forwarding also enables DNS resolution between virtual networks and enables
195187

196188
![DNS resolution between virtual networks](./media/azure-dns/inter-vnet-dns.png)
197189

198-
When you use name resolution that Azure provides, the internal DNS suffix is provided to each virtual machine by using DHCP. When you use your own name resolution solution, this suffix is not supplied to virtual machines because the suffix interferes with other DNS architectures. To refer to machines by FQDN or to configure the suffix on your virtual machines, you can use PowerShell or the API to determine the suffix:
190+
When you use name resolution that Azure provides, the internal DNS suffix is provided to each virtual machine by using DHCP. When you use your own name resolution solution, this suffix isn't supplied to virtual machines because the suffix interferes with other DNS architectures. To refer to machines by FQDN or to configure the suffix on your virtual machines, you can use PowerShell or the API to determine the suffix:
199191

200192
* For virtual networks that are managed by Azure Resource Manager, the suffix is available via the [network interface card](/rest/api/virtualnetwork/networkinterfaces) resource. You can also run the `azure network public-ip show <resource group> <pip name>` command to display the details of your public IP, which includes the FQDN of the NIC.
201193

202194
If forwarding queries to Azure doesn't suit your needs, you need to provide your own DNS solution. Your DNS solution needs to:
203195

204-
* Provide appropriate hostname resolution, for example via [DDNS](../../virtual-network/virtual-networks-name-resolution-ddns.md). If you use DDNS, you might need to disable DNS record scavenging. DHCP leases of Azure are very long and scavenging may remove DNS records prematurely.
196+
* Provide appropriate hostname resolution, for example via [DDNS](../../virtual-network/virtual-networks-name-resolution-ddns.md). If you use DDNS, you might need to disable DNS record scavenging. DHCP leases of Azure are long and scavenging may remove DNS records prematurely.
205197
* Provide appropriate recursive resolution to allow resolution of external domain names.
206198
* Be accessible (TCP and UDP on port 53) from the clients it serves and be able to access the Internet.
207199
* Be secured against access from the Internet to mitigate threats posed by external agents.

0 commit comments

Comments
 (0)