让DNS服务器知道它是ADDC服务器

我有一个问题,并没有能够在谷歌上find答案,所以现在我问你

我有2台服务器:

Server A, ubuntu 14.04, running DNS/DHCP through bind9 and isc-dhcp-server Server B, ubuntu 14.04, running ldap/samba and is an ADDC I used these guides to set it up: http://www.unixmen.com/openldap-installation-configuration-ubuntu-12-1013-0413-10-debian-67-2/ and http://www.unixmen.com/setup-samba-domain-controller-with-openldap-backend-in-ubuntu-13-04/ 

我也有一个Windows服务器

 WinServer A 

我想让WinServer A连接到服务器B提供的域,但WinServer A使用服务器A作为DNS,所以无法findDOMAIN的ADDC,因为DNS位于一台服务器上,而ADDC位于另一台服务器上

我的问题是如何让服务器A知道服务器B是域的ADDC,所以WinServer A可以通过服务器Afind它。

真的很感激答案

UPDATE

在我的区域,我写了

 _ldap._tcp SRV 0 0 389 ServerB FQDN 

但是,当我重新启动bind9并尝试运行这些命令:

 nslookup > set type=SRV > _ldap._tcp 

它返回

 Server: 127.0.0.1 Address: 127.0.0.1#53 ** server can't find _ldap._tcp: NXDOMAIN 

所以我试着从网上找一个例子(纠正我,如果它是错的):#nano /var/lib/bind/mosek.intranet.zone

 _ldap._tcp SRV 0 0 389 ServerB. _kerberos._tcp SRV 0 0 88 ServerB. _ldap._tcp.dc._msdcs SRV 0 0 389 ServerB. _kerberos._tcp.dc._msdcs SRV 0 0 88 ServerB. ServerB A xxxx.xxxx.xxxx.xxxx 

但仍然当我尝试通过nslookup命令adovevalidation它,它给了我错误。

我去了WinServer A尝试连接到ServerB作为ADDC,我注意到进展:

 DNS was successfully queried for the service location (SRV) resource record used to locate a domain controller for domain "mosek.intranet": the query was for the SRV record for _ldap._tcp.dc.msdcs.mosek.intranet the following domain controllers were identified by the query: ServerB.mosek.intranet However no domain controllers could be contacted Common causes of this error include: - Host (a) or (aaa) records that map the name of the domain controllers to their IP addresses are missing or contains incorrect addresses - Domain controllers registered in DNS are not connected to the network or are not ruinning 

我发现这个错误消息很奇怪,因为我有一个ServerB的Alogging,我试图在SRVlogging之前移动它,以防按顺序读取区域文件,但仍然是相同的错误。

所有Windows机器都使用DNS中的SRVlogging来定位域控制器。 如果您希望Windows机器能够find域控制器,则这些SRVlogging必须存在于您的Windows计算机正在查看的DNS服务器上。 在传统的Active Directory环境中,域控制器自己注册和维护自己的SRVlogging。 但从技术上讲,如果您需要使用非Microsoft DNS服务器,则可以手动创buildSRVlogging。

https://technet.microsoft.com/en-us/library/cc961719.aspx