给机器加域时报错 An Active Directory Domain Controller (AD DC) for the domain “x.x.com” could not be contacted
给机器加域时,报“无法连接到域控制器”错误,点击“详细”按钮后发现DNS名不存在。
解决方案是修改本台机器的DNS服务器地址。
可以参看在本域中的机器他的DNS是多少,然后添到此台机器后再重新加域试试。
http://www.itexperience.net/2014/06/06/an-active-directory-domain-controller-ad-dc-for-the-domain-x-x-com-could-not-be-contacted-windows-azure/
When you attempt to join a Windows 2012 R2 server to a domain in Windows Azure, you may receive the error An Active Directory Domain Controller (AD DC) for the domain “x.x.com” could not be contacted
If you click Details, the relevant part of the explanation is:
“The following error occurred when DNS was queried for the service location (SRV) resource record used to locate an Active Directory Domain Controller (AD DC) for domain “x.x.com”:
The error was: “DNS name does not exist.”
(error code 0x0000232B RCODE_NAME_ERROR)
The query was for the SRV record for _ldap._tcp.dc._msdcs.x.x.com”
In most cases, the domain controller is reachable. If you have enabled PING to your DC, you can try to ping and you will probably get an answer back. In that case, this error can easily be resolved by manually adding a DNS Server Address in the Advanced TCP/IP settings of the network adapter.
There’s a screenshot below (click to enlarge!) that visualizes the following steps to fix this problem:
First, logon to the machine that you want to join to the domain (your client)
- Go to your Network and Sharing Center
- Click the Network Adapter that you use to join the domain (typically there is only one adapter, but in some scenarios you may have multiple NICS connected to your network)
- In the window “Network Adapter” Status, click Properties
- In the new window, select the Internet Protocol Version 4 (TCP/IPv4)
- Then click Properties
- In the Internet Protocol Version 4 (TCP/IPv4) window, click Advanced…
- In the Advanced TCP/IP Settings, select the tab DNS
- Beneath the “DNS Server addresses, in order of use” click Add…
- A small window pops up. Enter the IP address of your Domain Controller, and click OK
- Close all Windows with the OK button. It may be necessary to restart the computer. Retry to join the domain.