Windows DNS Configuration: Difference between revisions

From SambaWiki
m (Rephrase sentence)
m (Added tags)
Line 17: Line 17:
You can run the following steps on any Windows operating system that is actively maintained by Microsoft:
You can run the following steps on any Windows operating system that is actively maintained by Microsoft:


* Click "Start", enter "Network and Sharing Center" into the search field and start the application.
* Click <code>Start</code>, enter <code>Network and Sharing Center</code> into the search field and start the application.
: If you are running Windows 8.1, enter the string on the Metro screen to search.
: If you are running Windows 8.1, enter the string on the Metro screen to search.
: [[Image:Search_Network_and_Sharing_Center.png]]
: [[Image:Search_Network_and_Sharing_Center.png]]


* Click "Change adapter settings".
* Click <code>Change adapter settings</code>.


* Right-click to the network adapter connected the network running the Active Directory (AD) and select "Properties".
* Right-click to the network adapter connected the network running the Active Directory (AD) and select <code>Properties</code>.


:* If your DNS server runs the IPv4 protocol: select "Internet Protocol Version 4 (TCP/IPv4)
:* If your DNS server runs the IPv4 protocol: select <code>Internet Protocol Version 4 (TCP/IPv4)</code>
::* Select "Use the following DNS server addresses"
::* Select <code>Use the following DNS server addresses</code>
::* Enter the IP address of the DNS server in the "Preferred DNS server" field. Optionally, specify a second DNS server in the "Alternate DNS server" field for failover reasons.
::* Enter the IP address of the DNS server in the <code>Preferred DNS server</code> field. Optionally, specify a second DNS server in the <code>Alternate DNS server</code> field for failover reasons.
::: Note that all DNS servers must be able to resolve the AD DNS zones.
::: Note that all DNS servers must be able to resolve the AD DNS zones.
::: [[Image:Set_DNS_Server_Addresses.png]]
::: [[Image:Set_DNS_Server_Addresses.png]]
::* Click "OK"
::* Click <code>OK</code>
:* If your DNS server runs the IPv6 protocol: select "Internet Protocol Version 6 (TCP/IPv6)
:* If your DNS server runs the IPv6 protocol: select <code>Internet Protocol Version 6 (TCP/IPv6)</code>
::* Select "Use the following DNS server addresses"
::* Select <code>Use the following DNS server addresses</code>
::* Enter the IP address of a DNS server in the "Preferred DNS server" field. Optionally, specify a second DNS server in the "Alternate DNS server" field.
::* Enter the IP address of a DNS server in the <code>Preferred DNS server</code> field. Optionally, specify a second DNS server in the <code>Alternate DNS server</code> field.
::: Note that all DNS servers must be able to resolve the AD DNS zones.
::: Note that all DNS servers must be able to resolve the AD DNS zones.
::* Click "OK"
::* Click <code>OK</code>.


* Click "OK" to save the changes.
* Click <code>OK</code> to save the changes.





Revision as of 21:07, 9 October 2016



Introduction

In an Active Directory (AD), DNS is an necessary component to locate domain controllers (DC) and services, such as Kerberos and LDAP. This documentation describes how to set the DNS server setting manually on a Windows operating system. If your configure client IP and DNS settings using a DHCP service, please consult your DHCP server's documentation for how to deploy the setting.



Configuring the DNS Server Settings

You can run the following steps on any Windows operating system that is actively maintained by Microsoft:

  • Click Start, enter Network and Sharing Center into the search field and start the application.
If you are running Windows 8.1, enter the string on the Metro screen to search.
Search Network and Sharing Center.png
  • Click Change adapter settings.
  • Right-click to the network adapter connected the network running the Active Directory (AD) and select Properties.
  • If your DNS server runs the IPv4 protocol: select Internet Protocol Version 4 (TCP/IPv4)
  • Select Use the following DNS server addresses
  • Enter the IP address of the DNS server in the Preferred DNS server field. Optionally, specify a second DNS server in the Alternate DNS server field for failover reasons.
Note that all DNS servers must be able to resolve the AD DNS zones.
Set DNS Server Addresses.png
  • Click OK
  • If your DNS server runs the IPv6 protocol: select Internet Protocol Version 6 (TCP/IPv6)
  • Select Use the following DNS server addresses
  • Enter the IP address of a DNS server in the Preferred DNS server field. Optionally, specify a second DNS server in the Alternate DNS server field.
Note that all DNS servers must be able to resolve the AD DNS zones.
  • Click OK.
  • Click OK to save the changes.



Testing DNS Resolution

To verify that your DNS configuration is working, see Testing the DNS Name Resolution.