我已经在 Windows Server 2019 中创建了一个域,但客户端无法连接。两台电脑都通过 VPN 连接。
server have vpn ip **10.8.0.6**
client have vpn ip **10.8.0.7**
Windows IP Configuration - CLIENT -
Host Name . . . . . . . . . . . . : pc01
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : localdomain
Unknown adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : TAP-Windows Adapter V9 for OpenVPN Connect
Physical Address. . . . . . . . . : 00-FF-BF-3E-F2-12
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::71ca:7889:bfa5:b8bb%13(Preferred)
IPv4 Address. . . . . . . . . . . : 10.8.0.7(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 402718655
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-26-9F-5C-F8-00-0C-29-74-C1-D4
DNS Servers . . . . . . . . . . . : 1.0.0.1
1.1.1.1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Ethernet0:
Connection-specific DNS Suffix . : localdomain
Description . . . . . . . . . . . : Intel(R) 82574L Gigabit Network Connection
Physical Address. . . . . . . . . : 00-0C-29-74-C1-D4
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::64cc:9549:b83a:36c9%7(Preferred)
IPv4 Address. . . . . . . . . . . : 11.0.0.213(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Thursday, July 16, 2020 11:18:58 AM
Lease Expires . . . . . . . . . . : Thursday, July 16, 2020 4:54:07 PM
Default Gateway . . . . . . . . . : 11.0.0.1
DHCP Server . . . . . . . . . . . : 11.0.0.1
DHCPv6 IAID . . . . . . . . . . . : 50334761
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-26-9F-5C-F8-00-0C-29-74-C1-D4
DNS Servers . . . . . . . . . . . : 11.0.0.1
NetBIOS over Tcpip. . . . . . . . : Enabled
Windows IP Configuration - SERVER -
Host Name . . . . . . . . . . . . : ServerM1
Primary Dns Suffix . . . . . . . : m1.local
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : m1.local
Unknown adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : TAP-Windows Adapter V9 for OpenVPN Connect
Physical Address. . . . . . . . . : 00-FF-86-27-8B-C5
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 10.8.0.6(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . : 1.0.0.1
1.1.1.1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) 82579LM Gigabit Network Connection
Physical Address. . . . . . . . . : 00-19-99-B2-BB-73
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 192.168.8.162(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Thursday, July 16, 2020 1:45:15 PM
Lease Expires . . . . . . . . . . : Friday, July 17, 2020 1:45:15 PM
Default Gateway . . . . . . . . . : 192.168.8.1
DHCP Server . . . . . . . . . . . : 192.168.8.1
DNS Servers . . . . . . . . . . . : 192.168.8.1
NetBIOS over Tcpip. . . . . . . . : Enabled
我得到了这个错误
答案1
将客户端(和服务器)的 DNS 服务器(TCP/IP 设置)指向正确的服务器。DNS 是一切在 ActiveDirectory 中,您的客户端使用“1.1.1.1”作为 DNS,这是一个 cloudflare DNS 服务器。我怀疑 cloudflare 是否有您的私有 AD DNS 区域的副本。
所有 AD 客户端(包括 AD DC)必须拥有正常运行的 DNS 基础设施,就您的区域而言m1.local
。