Windows Server 2012 R2上的DNS

我是服务器的新手,在尝试创buildAD DC并将机器连接到它之后使用Windows Server 2012 R2时,连接时出现以下错误:

“无法联系域”wolf01“的Active Directory域控制器(AD DC)。

确保正确input域名。

如果名称正确,请单击详细信息以获取疑难解答信息。“

点击“详细信息”后,我得到这个:

“注意:这个信息是给networkingpipe理员的,如果你不是networkingpipe理员,请通知pipe理员你已经收到了这个信息,这个信息已经logging在文件C:\ Windows \ debug \ dcdiag.txt中。

域名“wolf01”可能是一个NetBIOS域名。 如果是这种情况,请validation域名已正确注册到WINS。

如果您确定该名称不是NetBIOS域名,则以下信息可帮助您排除DNSconfiguration故障。

当查询用于查找域“wolf01”的Active Directory域控制器(AD DC)的服务位置(SRV)资源logging的DNS时,发生以下错误:

错误是:“DNS名称不存在”。 (错误代码0x0000232B RCODE_NAME_ERROR)

查询是针对_ldap._tcp.dc._msdcs.wolf01的SRVlogging

此错误的常见原因包括以下内容:

  • find域的AD DC所需的DNS SRVlogging未在DNS中注册。 将AD DC添加到域时,这些logging会自动注册到DNS服务器。 它们按设定的时间间隔由AD DC更新。 此计算机被configuration为使用具有以下IP地址的DNS服务器:

10.8.1.11

  • 一个或多个以下区域不包括对其子区域的委派:

wolf01。 (根区)“

在C:\ Windows \ debug \ dcdiag.txt里面是:

“域名”wolf01“可能是一个NetBIOS域名,如果是这样的话,请确认域名已经正确地注册到WINS。

如果您确定该名称不是NetBIOS域名,则以下信息可帮助您排除DNSconfiguration故障。

当查询用于查找域“wolf01”的Active Directory域控制器(AD DC)的服务位置(SRV)资源logging的DNS时,发生以下错误:

错误是:“DNS名称不存在”。 (错误代码0x0000232B RCODE_NAME_ERROR)

查询是针对_ldap._tcp.dc._msdcs.wolf01的SRVlogging

此错误的常见原因包括以下内容:

  • find域的AD DC所需的DNS SRVlogging未在DNS中注册。 将AD DC添加到域时,这些logging会自动注册到DNS服务器。 它们按设定的时间间隔由AD DC更新。 此计算机被configuration为使用具有以下IP地址的DNS服务器:

10.8.1.11

  • 一个或多个以下区域不包括对其子区域的委派:

wolf01。 (根区)“。

过去几天我一直在寻找论坛。 我已经在个人电脑和服务器上检查了我的DNS设置,他们都设置正确。 名称也是正确的,我的DNS正在服务器上运行 – 我没有任何types的错误显示。 我已经closures了服务器和我的路由器上的两个防火墙,它仍然没有运气。 还有其他的一些事情,论坛让我检查一下,我想不起我的头顶。

任何感激!

编辑:

这是我的dcdiag/DNStesting

 Windows PowerShell Copyright (C) 2013 Microsoft Corporation. All rights reserved. PS C:\Users\Administrator> dcdiag Directory Server Diagnosis Performing initial setup: Trying to find home server... Home Server = WOLF * Identified AD Forest. Done gathering initial info. Doing initial required tests Testing server: Default-First-Site-Name\WOLF Starting test: Connectivity ......................... WOLF passed test Connectivity Doing primary tests Testing server: Default-First-Site-Name\WOLF Starting test: Advertising ......................... WOLF passed test Advertising Starting test: FrsEvent ......................... WOLF passed test FrsEvent Starting test: DFSREvent ......................... WOLF passed test DFSREvent Starting test: SysVolCheck ......................... WOLF passed test SysVolCheck Starting test: KccEvent ......................... WOLF passed test KccEvent Starting test: KnowsOfRoleHolders ......................... WOLF passed test KnowsOfRoleHolders Starting test: MachineAccount ......................... WOLF passed test MachineAccount Starting test: NCSecDesc ......................... WOLF passed test NCSecDesc Starting test: NetLogons ......................... WOLF passed test NetLogons Starting test: ObjectsReplicated ......................... WOLF passed test ObjectsReplicated Starting test: Replications ......................... WOLF passed test Replications Starting test: RidManager ......................... WOLF passed test RidManager Starting test: Services ......................... WOLF passed test Services Starting test: SystemLog ......................... WOLF passed test SystemLog Starting test: VerifyReferences ......................... WOLF passed test VerifyReferences Running partition tests on : ForestDnsZones Starting test: CheckSDRefDom ......................... ForestDnsZones passed test CheckSDRefDom Starting test: CrossRefValidation ......................... ForestDnsZones passed test CrossRefValidation Running partition tests on : DomainDnsZones Starting test: CheckSDRefDom ......................... DomainDnsZones passed test CheckSDRefDom Starting test: CrossRefValidation ......................... DomainDnsZones passed test CrossRefValidation Running partition tests on : Schema Starting test: CheckSDRefDom ......................... Schema passed test CheckSDRefDom Starting test: CrossRefValidation ......................... Schema passed test CrossRefValidation Running partition tests on : Configuration Starting test: CheckSDRefDom ......................... Configuration passed test CheckSDRefDom Starting test: CrossRefValidation ......................... Configuration passed test CrossRefValidation Running partition tests on : wolf Starting test: CheckSDRefDom ......................... wolf passed test CheckSDRefDom Starting test: CrossRefValidation ......................... wolf passed test CrossRefValidation Running enterprise tests on : wolf.local Starting test: LocatorCheck ......................... wolf.local passed test LocatorCheck Starting test: Intersite ......................... wolf.local passed test Intersite PS C:\Users\Administrator> dcdiag /test:DNS Directory Server Diagnosis Performing initial setup: Trying to find home server... Home Server = WOLF * Identified AD Forest. Done gathering initial info. Doing initial required tests Testing server: Default-First-Site-Name\WOLF Starting test: Connectivity ......................... WOLF passed test Connectivity Doing primary tests Testing server: Default-First-Site-Name\WOLF Starting test: DNS DNS Tests are running and not hung. Please wait a few minutes... ......................... WOLF passed test DNS Running partition tests on : ForestDnsZones Running partition tests on : DomainDnsZones Running partition tests on : Schema Running partition tests on : Configuration Running partition tests on : wolf Running enterprise tests on : wolf.local Starting test: DNS Test results for domain controllers: DC: WOLF.wolf.local Domain: wolf.local TEST: Basic (Basc) Warning: Adapter 78:45:C4:2B:B3:65 has dynamic IP address (can be a misconfiguration) WOLF PASS WARN PASS PASS PASS PASS n/a ......................... wolf.local passed test DNS 

 C:\Users\Administrator>nslookup Default Server: localhost Address: ::1 > set type=all > _ldap._tcp.dc._msdcs.wolf.local Server: localhost Address: ::1 _ldap._tcp.dc._msdcs.wolf.local SRV service location: priority = 0 weight = 100 port = 389 svr hostname = wolf.wolf.local wolf.wolf.local internet address = 10.8.1.11 wolf.wolf.local AAAA IPv6 address = 2601:a:1d00:719:5ce9:8e23:bf6c:3db9 

>

好; 一些事情。 有些与这个问题有关的,其他人只是很好的build议:

  1. 您似乎试图使用域控制器名称连接到域。 你不这样做。 如果您的域控制器是wolf01.wolf.local那么您想要join的域名只是wolf.local (或者如果这是您域的NetBIOS别名,则只是wolf

在其他问题上:

  1. 不要使用.local作为您的域名的TLD。 在将.local设置为他们的SBS域后,微软是他们自己最大的敌人。 请参阅Windows Active Directory命名最佳实践?
  2. 在这样一个简单的设置中,您的域控制器应该是您的DNS服务器
  3. 您的域控制器应该有一个静态的IP地址(请参阅您的dcdiag有关此警告)
  4. 您的域控制器应该只有一个网卡 – 否则最终会有多个DC的条目,有些可能位于不可路由的子网上
  5. 所有的客户端都应该有你的域控制器作为他们的主DNS服务器。 你说他们是“正确设置”,但不是“正确”实际是什么。

在添加DCangular色(也添加了DNSangular色)之后,您应该在适配器设置>您的NIC卡>属性>selectIPV4>属性button>您的DNS服务器应设置为127.0,以validation您的服务器上的DNS条目是正确的。 0.1。

同时选中高级button> DNS选项卡>确保列出了127.0.0.1。

如果你使用IPV6,你应该这样做,它应该是:: 1

然后进入DC的DNS并configuration一些转发器,如Google(8.8.8.8和8.8.4.4)。 我将在进行更改后重新启动DNS。

无论如何,然后转到您要添加到域的客户端,并确保在IPv4设置下的DNS设置被设置为“使用下面的DNS服务器”,并确保它指向您的DC服务器的IP地址。 您可以在要使用DNS服务器的客户端上进行手动configuration,或者在networking上的所有PC都要通过本地DNS服务器运行的情况下,在路由器上进行configuration。

然后在客户端上,以pipe理员身份打开CMD提示符,validationDNS是否正常工作,然后发出以下命令。

 ipconfig /flushdns ping YOUR DOMAIN NAME (ex. ping wolf) 

如果这不起作用,请尝试ping FQDN(ping wolf.local)。 如果这不起作用,您的DNS无法正常工作。 如果您在路由器上设置它,则在IPv4设置中手动在客户端上configuration它以查看路由器是否是问题。

同样,在刷新DNS后,您可以重新启动,但不应该有必要。

如果可以ping通,则将该机器添加到域中。