-1

我很难尝试将我的计算机连接到我在 azure VM 中设置的域。我花了几天时间在谷歌上搜索答案,但仍然无法加入。我对网络不是很熟悉,所以希望你们中的一个人能引导我朝着正确的方向前进。我正在使用指向站点的 vpn。我可以通过 IP ping AD 服务器,但不能通过主机名。当我尝试加入域时,出现此错误:

查询是针对 _ldap._tcp.dc._msdcs.xxxx.local 的 SRV 记录

此错误的常见原因包括:

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

192.168.250.6(AD 服务器的 IP)。

ipconfig /all 客户端机器:

Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . : hsd1.nj.net
   Description . . . . . . . . . . . : Intel(R) Ethernet Connection (2) I219-LM
   Physical Address. . . . . . . . . : C8-5B-76-D0-FA-4D
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.1.119(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Tuesday, August 28, 2018 4:33:23 PM
   Lease Expires . . . . . . . . . . : Friday, August 31, 2018 8:27:41 AM
   Default Gateway . . . . . . . . . : 192.168.1.1
   DHCP Server . . . . . . . . . . . : 192.168.1.1
   DNS Servers . . . . . . . . . . . : 192.168.1.1
   NetBIOS over Tcpip. . . . . . . . : Enabled

PPP adapter b2wise-vnet-weu:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : xxx-vnet-weu
   Physical Address. . . . . . . . . :
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.252.2(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.255
   Default Gateway . . . . . . . . . :
   NetBIOS over Tcpip. . . . . . . . : Enabled

ipconfig /all 广告服务器

Ethernet adapter Ethernet 2:

   Connection-specific DNS Suffix  . : eypda44s54judkzq3onclf52qb.ax.internal.cloudapp.net
   Description . . . . . . . . . . . : Microsoft Hyper-V Network Adapter #2
   Physical Address. . . . . . . . . : 00-0D-3A-44-50-8B
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.250.6(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Thursday, August 30, 2018 12:32:05 PM
   Lease Expires . . . . . . . . . . : Sunday, October 6, 2154 7:29:42 PM
   Default Gateway . . . . . . . . . : 192.168.250.1
   DHCP Server . . . . . . . . . . . : 168.63.129.16
   DNS Servers . . . . . . . . . . . : 127.0.0.1
   NetBIOS over Tcpip. . . . . . . . : Enabled

我尝试让客户端电脑的 dns 只有广告服务器的 ip,当我这样做时,我无法访问互联网或网络。

感谢您的帮助和耐心!

4

2 回答 2

2

这似乎是一个 DNS 错误配置。我认为您应该查看您的 VNet 配置。此链接可能会有所帮助。此外,我想提醒您,您需要一个站点到站点 VPN 才能让计算机加入云域中。

但是,Azure 还提供了更多解决方案来在 Azure 上拥有一个域控制器,这称为 Azure Active Directory 域服务(托管域),它不需要 VPN 连接。 Azure Active Directory 域服务(托管域)

于 2018-09-07T13:28:17.187 回答
0

可能的原因是 P2S 客户端在 PPP 适配器中没有正确的 DNS 服务器。

网络完全设置后(将 AD 服务器 IP 地址指向 Azure 虚拟网络的 DNS 服务器设置)。您可以移除 VPN 客户端,在门户网站上重新下载 VPN 客户端包,然后重新安装 VPN 客户端。客户端的 DNS 服务器应显示在适配器上。参考这个

我的 P2S 客户端输出如下: 在此处输入图像描述

更多详细信息:Azure Point 2 Site VPN:DNS 配置错误

于 2018-08-31T06:44:02.713 回答