Difference between revisions of "Linux and Unix DNS Configuration"

m (/* still testing)
m (/* change header font size)
Line 10: Line 10:
 
The following describes how to manually configure Linux clients to use DNS servers. If you are running a DHCP server providing DNS settings to your client computers, configure your DHCP server to send the IP addresses of your DNS servers.
 
The following describes how to manually configure Linux clients to use DNS servers. If you are running a DHCP server providing DNS settings to your client computers, configure your DHCP server to send the IP addresses of your DNS servers.
  
= Configuring the /etc/resolv.conf =
+
== Configuring the /etc/resolv.conf ==
  
 
Set the DNS server IP and AD DNS domain in your <code>/etc/resolv.conf</code>. For example:
 
Set the DNS server IP and AD DNS domain in your <code>/etc/resolv.conf</code>. For example:
Line 23: Line 23:
  
  
= Testing DNS resolution =
+
== Testing DNS resolution ==
  
 
See [[Testing_the_DNS_Name_Resolution]].
 
See [[Testing_the_DNS_Name_Resolution]].

Revision as of 10:39, 28 November 2018


Introduction

Active Directory (AD) uses DNS in the background, to locate other DCs and services, such as Kerberos. Thus AD domain members and servers must be able to resolve the AD DNS zones.

The following describes how to manually configure Linux clients to use DNS servers. If you are running a DHCP server providing DNS settings to your client computers, configure your DHCP server to send the IP addresses of your DNS servers.

Configuring the /etc/resolv.conf

Set the DNS server IP and AD DNS domain in your /etc/resolv.conf. For example:

nameserver 10.99.0.1
search samdom.example.com

Some utilities, such as NetworkManager can overwrite manual changes in that file. See your distribution's documentation for information about how to configure name resolution permanently.



Testing DNS resolution

See Testing_the_DNS_Name_Resolution.