Instalé y configuré un controlador de Active Directory (Windows Server 2019) y también hice una instalación limpia de Windows 10 Enterprise. Ambos se instalaron en Hyper-V y ambos usan el mismo conmutador privado.
El dominio en el servidor se crea correctamente, se promueve a controlador de dominio y el servidor DNS se está ejecutando. Seguí este vídeo:https://www.youtube.com/watch?v=aC-KIVYewAMy este vídeo:https://www.youtube.com/watch?v=XzMDb-ZtzRYpara configurar ambos.
Sin embargo, cuando intento unirme al dominio en el cliente, aparece el siguiente error:
Se consultó correctamente a DNS para obtener el registro de recursos de ubicación de servicio (SRV) utilizado para localizar un controlador de dominio para el dominio "testdomain.local":
La consulta era para el registro SRV de _ldap._tcp.dc._msdcs.testdomain.local
La consulta identificó los siguientes controladores de dominio: WIN-A9VDVHB8U8M.testdomain.local
Sin embargo, no se pudo contactar a ningún controlador de dominio.
Estoy usando la dirección IP del servidor como servidor DNS principal para el cliente y verifiqué que ambos pueden hacer ping entre sí.
También lo intenté ping testdomain.local
tanto en el cliente como en el servidor, y ambos fallan al resolver el dominio. Obtendría el error en el cliente, pero ¿cómo puede fallar en el servidor? ¿Me falta algún registro en el servidor DNS?
Así es como se ve la zona de mi servidor DNS en mi servidor:
También ipconfig-all sale del servidor:
C:\Users\Administrator>ipconfig -all
Windows IP Configuration
Host Name . . . . . . . . . . . . : WIN-A9VDVHB8U8M
Primary Dns Suffix . . . . . . . : testdomain.local
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : testdomain.local
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Hyper-V Network Adapter
Physical Address. . . . . . . . . : 00-15-5D-26-E1-12
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::b8f7:6aea:3eb4:8957%4(Preferred)
Autoconfiguration IPv4 Address. . : 169.254.137.87(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 67114333
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-27-7D-9A-F9-00-15-5D-26-E1-12
DNS Servers . . . . . . . . . . . : ::1
127.0.0.1
NetBIOS over Tcpip. . . . . . . . : Enabled
y del cliente:
C:\Users\User>ipconfig -all
Windows IP Configuration
Host Name . . . . . . . . . . . . : DESKTOP-BMP0DM7
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Hyper-V Network Adapter
Physical Address. . . . . . . . . : 00-15-5D-26-E1-13
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::9c44:a92d:4d65:50bf%6(Preferred)
Autoconfiguration IPv4 Address. . : 169.254.80.191(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 100668765
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-27-7D-A1-8F-00-15-5D-26-E1-13
DNS Servers . . . . . . . . . . . : 169.254.137.87
NetBIOS over Tcpip. . . . . . . . : Enabled
¿Podrías ayudarme a resolver el problema? Seguí el vídeo paso a paso pero no funciona.
Si necesitas alguna información adicional, házmelo saber.
Gracias
EDITAR:
Por solicitud:
Ipconfig-servidor:
C:\Users\Administrator>ipconfig -all
Windows IP Configuration
Host Name . . . . . . . . . . . . : WIN-A9VDVHB8U8M
Primary Dns Suffix . . . . . . . : testdomain.local
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : testdomain.local
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Hyper-V Network Adapter
Physical Address. . . . . . . . . : 00-15-5D-26-E1-12
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::b8f7:6aea:3eb4:8957%4(Preferred)
IPv4 Address. . . . . . . . . . . : 169.254.137.91(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 67114333
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-27-7D-9A-F9-00-15-5D-26-E1-12
DNS Servers . . . . . . . . . . . : ::1
169.254.137.91
NetBIOS over Tcpip. . . . . . . . : Enabled
cliente ipconfig:
C:\Users\User>ipconfig -all
Windows IP Configuration
Host Name . . . . . . . . . . . . : DESKTOP-BMP0DM7
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Hyper-V Network Adapter
Physical Address. . . . . . . . . : 00-15-5D-26-E1-13
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::9c44:a92d:4d65:50bf%11(Preferred)
Autoconfiguration IPv4 Address. . : 169.254.80.191(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 100668765
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-27-7D-A1-8F-00-15-5D-26-E1-13
DNS Servers . . . . . . . . . . . : 169.254.137.91
NetBIOS over Tcpip. . . . . . . . : Enabled
Registros DNS A:
Nslookup en el cliente:
C:\Users\User>nslookup testdomain.local
DNS request timed out.
timeout was 2 seconds.
Server: UnKnown
Address: 169.254.137.91
Name: testdomain.local
Address: 169.254.137.91
Respuesta1
Las direcciones APIPA no se registrarán en DNS, por lo que, aunque su zona parece estar bien, sospecho que no hay un registro A correspondiente para el controlador de dominio. Por lo tanto, el cliente no puede resolver la dirección IP del controlador de dominio.
Asigne al servidor y al cliente una dirección IP en la misma subred de uno de los rangos de direcciones RFC1918 (elija). Asegúrese de que el controlador de dominio registre un registro A en DNS para la nueva dirección IP. Asegúrese de que el servidor esté utilizando el perfil de red de dominio y el perfil de firewall de dominio. Luego intente unir el cliente al dominio nuevamente.
Respuesta2
Debe configurar una IP fija en el DC en lugar de utilizar una generada automáticamente. La IP debe cumplir con el rango de IP que configuró en su vNet en el hipervisor.
También configure el DNS en la configuración IP del DC en esta dirección.
Cuando ejecuta nslookup en el DC, no debe generar ningún problema y debería poder resolver su nombre de dominio NETBIOS.
Lo mejor es configurar también un DHCP en este DC y configurar un alcance que coincida con la red virtual de su hipervisor; esto emitirá una concesión a las máquinas virtuales de su cliente con la dirección IP y el DNS correctos.