域控制器不工作,直到我进行 ipconfig /renew

域控制器不工作,直到我进行 ipconfig /renew

我遇到了一个奇怪的问题,我无法理解为什么会发生这种情况,问题是我的域控制器没有响应,我无法通过本地域访问主机,例如:nagios.amd.local直到我做了一个,ipconfig /renew它只发生在我的电脑上,其他系统都很好。问题是为什么会发生这种情况?这是我的电脑或服务器的问题吗?

谢谢。

网络结构如下:我们有两个 DNS 服务器,一个是主服务器,另一个是辅助服务器,均在 Windows Server 2003 上运行。

主 DNS 服务器还包含 DHCP 服务以自动分配 IP,还包含为每台 PC 定义并由特定 IP 分配的名称服务器,客户端 PC 上的配置是在Automatic选项上设置的。

DCDIAG 命令输出:

Domain Controller Diagnosis

Performing initial setup:
   Done gathering initial info.

Doing initial required tests

   Testing server: Nombre-predeterminado-primer-sitio\VM-TEMPESTA-1
      Starting test: Connectivity
         ......................... VM-TEMPESTA-1 passed test Connectivity

Doing primary tests

   Testing server: Nombre-predeterminado-primer-sitio\VM-TEMPESTA-1
      Starting test: Replications
         [Replications Check,VM-TEMPESTA-1] A recent replication attempt failed:
            From VM-TEMPESTA-2 to VM-TEMPESTA-1
            Naming Context: DC=ForestDnsZones,DC=amd,DC=local
            The replication generated an error (1256):
            The remote system is not available. For information about network troubleshooting, see Windows Help.
            The failure occurred at 2016-11-23 15:57:19.
            The last success occurred at 2016-05-18 08:52:03.
            1551 failures have occurred since the last success.
         [VM-TEMPESTA-2] DsBindWithSpnEx() failed with error -2146893022,
         The target principal name is incorrect..
         [Replications Check,VM-TEMPESTA-1] A recent replication attempt failed:
            From VM-TEMPESTA-2 to VM-TEMPESTA-1
            Naming Context: DC=DomainDnsZones,DC=amd,DC=local
            The replication generated an error (1256):
            The remote system is not available. For information about network troubleshooting, see Windows Help.
            The failure occurred at 2016-11-23 15:57:19.
            The last success occurred at 2016-05-18 08:52:03.
            1551 failures have occurred since the last success.
         [Replications Check,VM-TEMPESTA-1] A recent replication attempt failed:
            From VM-TEMPESTA-2 to VM-TEMPESTA-1
            Naming Context: CN=Schema,CN=Configuration,DC=amd,DC=local
            The replication generated an error (-2146893022):
            The target principal name is incorrect.
            The failure occurred at 2016-11-23 15:57:19.
            The last success occurred at 2016-05-18 08:52:03.
            1550 failures have occurred since the last success.
         [Replications Check,VM-TEMPESTA-1] A recent replication attempt failed:
            From VM-TEMPESTA-2 to VM-TEMPESTA-1
            Naming Context: CN=Configuration,DC=amd,DC=local
            The replication generated an error (-2146893022):
            The target principal name is incorrect.
            The failure occurred at 2016-11-23 15:57:19.
            The last success occurred at 2016-05-18 09:28:36.
            1550 failures have occurred since the last success.
         [Replications Check,VM-TEMPESTA-1] A recent replication attempt failed:
            From VM-TEMPESTA-2 to VM-TEMPESTA-1
            Naming Context: DC=amd,DC=local
            The replication generated an error (-2146893022):
            The target principal name is incorrect.
            The failure occurred at 2016-11-23 15:57:19.
            The last success occurred at 2016-05-18 09:45:22.
            1551 failures have occurred since the last success.
         REPLICATION-RECEIVED LATENCY WARNING
         VM-TEMPESTA-1:  Current time is 2016-11-23 16:18:20.
            DC=ForestDnsZones,DC=amd,DC=local
               Last replication recieved from VM-TEMPESTA-2 at 2016-05-18 09:02:56.
               WARNING:  This latency is over the Tombstone Lifetime of 60 days!
            DC=DomainDnsZones,DC=amd,DC=local
               Last replication recieved from VM-TEMPESTA-2 at 2016-05-18 09:02:56.
               WARNING:  This latency is over the Tombstone Lifetime of 60 days!
            CN=Schema,CN=Configuration,DC=amd,DC=local
               Last replication recieved from VM-TEMPESTA-2 at 2016-05-18 09:02:56.
               WARNING:  This latency is over the Tombstone Lifetime of 60 days!
            CN=Configuration,DC=amd,DC=local
               Last replication recieved from VM-TEMPESTA-2 at 2016-05-18 09:39:31.
               WARNING:  This latency is over the Tombstone Lifetime of 60 days!
            DC=amd,DC=local
               Last replication recieved from VM-TEMPESTA-2 at 2016-05-18 09:56:16.
               WARNING:  This latency is over the Tombstone Lifetime of 60 days!
         ......................... VM-TEMPESTA-1 passed test Replications
      Starting test: NCSecDesc
         ......................... VM-TEMPESTA-1 passed test NCSecDesc
      Starting test: NetLogons
         ......................... VM-TEMPESTA-1 passed test NetLogons
      Starting test: Advertising
         ......................... VM-TEMPESTA-1 passed test Advertising
      Starting test: KnowsOfRoleHolders
         ......................... VM-TEMPESTA-1 passed test KnowsOfRoleHolders
      Starting test: RidManager
         ......................... VM-TEMPESTA-1 passed test RidManager
      Starting test: MachineAccount
         ......................... VM-TEMPESTA-1 passed test MachineAccount
      Starting test: Services
         ......................... VM-TEMPESTA-1 passed test Services
      Starting test: ObjectsReplicated
         ......................... VM-TEMPESTA-1 passed test ObjectsReplicated
      Starting test: frssysvol
         ......................... VM-TEMPESTA-1 passed test frssysvol
      Starting test: frsevent
         There are warning or error events within the last 24 hours after the
         SYSVOL has been shared.  Failing SYSVOL replication problems may cause
         Group Policy problems. 
         ......................... VM-TEMPESTA-1 failed test frsevent
      Starting test: kccevent
         ......................... VM-TEMPESTA-1 passed test kccevent
      Starting test: systemlog
         An Error Event occured.  EventID: 0x40000004
            Time Generated: 11/23/2016   15:34:30
            Event String: The kerberos client received a
         An Error Event occured.  EventID: 0x40000004
            Time Generated: 11/23/2016   15:38:37
            Event String: The kerberos client received a
         An Error Event occured.  EventID: 0x40000004
            Time Generated: 11/23/2016   15:45:55
            Event String: The kerberos client received a
         An Error Event occured.  EventID: 0x40000004
            Time Generated: 11/23/2016   15:57:19
            Event String: The kerberos client received a
         An Error Event occured.  EventID: 0x40000004
            Time Generated: 11/23/2016   16:09:56
            Event String: The kerberos client received a
         ......................... VM-TEMPESTA-1 failed test systemlog
      Starting test: VerifyReferences
         ......................... VM-TEMPESTA-1 passed test VerifyReferences

   Running partition tests on : ForestDnsZones
      Starting test: CrossRefValidation
         ......................... ForestDnsZones passed test CrossRefValidation
      Starting test: CheckSDRefDom
         ......................... ForestDnsZones passed test CheckSDRefDom

   Running partition tests on : DomainDnsZones
      Starting test: CrossRefValidation
         ......................... DomainDnsZones passed test CrossRefValidation
      Starting test: CheckSDRefDom
         ......................... DomainDnsZones passed test CheckSDRefDom

   Running partition tests on : Schema
      Starting test: CrossRefValidation
         ......................... Schema passed test CrossRefValidation
      Starting test: CheckSDRefDom
         ......................... Schema passed test CheckSDRefDom

   Running partition tests on : Configuration
      Starting test: CrossRefValidation
         ......................... Configuration passed test CrossRefValidation
      Starting test: CheckSDRefDom
         ......................... Configuration passed test CheckSDRefDom

   Running partition tests on : amd
      Starting test: CrossRefValidation
         ......................... amd passed test CrossRefValidation
      Starting test: CheckSDRefDom
         ......................... amd passed test CheckSDRefDom

   Running enterprise tests on : amd.local
      Starting test: Intersite
         ......................... amd.local passed test Intersite
      Starting test: FsmoCheck
         ......................... amd.local passed test FsmoCheck

SERVER 的 IPCONFIG 输出:

C:\Documents and Settings\administrador>ipconfig

Windows IP Configuration


Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . :
   IP Address. . . . . . . . . . . . : 172.27.2.90
   Subnet Mask . . . . . . . . . . . : 255.255.224.0
   Default Gateway . . . . . . . . . : 172.27.31.254

IPCONFIG /所有我的电脑:

    C:\Windows\system32>ipconfig /all

Configuración IP de Windows

   Nombre de host. . . . . . . . . : COMMERCIAL
   Sufijo DNS principal  . . . . . :
   Tipo de nodo. . . . . . . . . . : híbrido
   Enrutamiento IP habilitado. . . : no
   Proxy WINS habilitado . . . . . : no
   Lista de búsqueda de sufijos DNS: amd.local

Adaptador de Ethernet local connection:

   Sufijo DNS específico para la conexión. . : amd.local
   Descripción . . . . . . . . . . . . . . . : Realtek PCIe GBE Family Controlle
r
   Dirección física. . . . . . . . . . . . . : D4-3D-7E-A9-57-E8
   DHCP habilitado . . . . . . . . . . . . . : sí
   Configuración automática habilitada . . . : sí
   Vínculo: dirección IPv6 local. . . : fe80::f068:1507:a78b:bb55%11(Preferido)

   Dirección IPv4. . . . . . . . . . . . . . : 172.27.17.7(Preferido)
   Máscara de subred . . . . . . . . . . . . : 255.255.224.0
   Concesión obtenida. . . . . . . . . . . . : Wednesday, November 23, 2016 1:08
:10 PM
   La concesión expira . . . . . . . . . . . : Thursday, December 01, 2016 3:58:
56 PM
   Puerta de enlace predeterminada . . . . . : 172.27.31.254
   Servidor DHCP . . . . . . . . . . . . . . : 172.27.2.90
   IAID DHCPv6 . . . . . . . . . . . . . . . : 248790398
   DUID de cliente DHCPv6. . . . . . . . . . : 00-01-00-01-19-2F-AD-5D-D4-3D-7E-
A9-57-E8
   Servidores DNS. . . . . . . . . . . . . . : 172.27.2.90
                                       172.27.2.91
                                       8.8.8.8
   NetBIOS sobre TCP/IP. . . . . . . . . . . : habilitado

Adaptador de Ethernet VMware Network Adapter VMnet8:

   Sufijo DNS específico para la conexión. . : localdomain
   Descripción . . . . . . . . . . . . . . . : VMware Virtual Ethernet Adapter f
or VMnet8
   Dirección física. . . . . . . . . . . . . : 00-50-56-C0-00-08
   DHCP habilitado . . . . . . . . . . . . . : sí
   Configuración automática habilitada . . . : sí
   Vínculo: dirección IPv6 local. . . : fe80::a966:970d:4f63:54f1%19(Preferido)

   Dirección IPv4. . . . . . . . . . . . . . : 192.168.86.1(Preferido)
   Máscara de subred . . . . . . . . . . . . : 255.255.255.0
   Concesión obtenida. . . . . . . . . . . . : Tuesday, November 22, 2016 11:41:
00 AM
   La concesión expira . . . . . . . . . . . : Thursday, November 24, 2016 8:28:
56 AM
   Puerta de enlace predeterminada . . . . . :
   Servidor DHCP . . . . . . . . . . . . . . : 192.168.86.254
   IAID DHCPv6 . . . . . . . . . . . . . . . : 637554774
   DUID de cliente DHCPv6. . . . . . . . . . : 00-01-00-01-19-2F-AD-5D-D4-3D-7E-
A9-57-E8
   Servidores DNS. . . . . . . . . . . . . . : 192.168.86.2
   Servidor WINS principal . . . . . . . . . : 192.168.86.2
   NetBIOS sobre TCP/IP. . . . . . . . . . . : habilitado

Adaptador de túnel isatap.amd.local:

   Estado de los medios. . . . . . . . . . . : medios desconectados
   Sufijo DNS específico para la conexión. . : amd.local
   Descripción . . . . . . . . . . . . . . . : Adaptador ISATAP de Microsoft
   Dirección física. . . . . . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP habilitado . . . . . . . . . . . . . : no
   Configuración automática habilitada . . . : sí

Adaptador de túnel Teredo Tunneling Pseudo-Interface:

   Estado de los medios. . . . . . . . . . . : medios desconectados
   Sufijo DNS específico para la conexión. . :
   Descripción . . . . . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface

   Dirección física. . . . . . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP habilitado . . . . . . . . . . . . . : no
   Configuración automática habilitada . . . : sí

Adaptador de túnel isatap.localdomain:

   Estado de los medios. . . . . . . . . . . : medios desconectados
   Sufijo DNS específico para la conexión. . : localdomain
   Descripción . . . . . . . . . . . . . . . : Adaptador ISATAP de Microsoft #3
   Dirección física. . . . . . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP habilitado . . . . . . . . . . . . . : no
   Configuración automática habilitada . . . : sí

nltest /dsgetdc:amd.local 的输出

    DC: \\VM-Tempesta-1.amd.local
      Dirección: \\172.27.2.90
     GUID del DOM: 28e39dee-e275-4ee9-9fc7-3ca5be07e137
     Nombre del DOM: amd.local
  Nombre del bosque: amd.local
 Nombre de sitio DC: Nombre-predeterminado-primer-sitio
Nuestro nombre de sitio: Nombre-predeterminado-primer-sitio
        Marcas: PDC GC DS LDAP KDC TIMESERV WRITABLE DNS_DC DNS_DOMAIN DNS_FORES
T CLOSE_SITE
El comando se completó correctamente

repadmin /showreps 的输出

Nombre-predeterminado-primer-sitio\VM-TEMPESTA-2
DC Options: IS_GC
Site Options: (none)
DC object GUID: cd5f88f0-2910-4615-826b-bca3603afc3b
DC invocationID: 1057fb04-ab63-4874-a412-ff4fbb594eb7

==== INBOUND NEIGHBORS ======================================

DC=amd,DC=local
    Nombre-predeterminado-primer-sitio\VM-TEMPESTA-1 via RPC
        DC object GUID: 1a6efb04-16d2-44ac-bd6b-ebefe6046bf2
        Last attempt @ 2016-11-24 10:18:06 failed, result 1908 (0x774):
            Could not find the domain controller for this domain.
        1765 consecutive failure(s).
        Last success @ 2016-09-13 11:20:47.

CN=Configuration,DC=amd,DC=local
    Nombre-predeterminado-primer-sitio\VM-TEMPESTA-1 via RPC
        DC object GUID: 1a6efb04-16d2-44ac-bd6b-ebefe6046bf2
        Last attempt @ 2016-11-24 10:18:06 failed, result 1908 (0x774):
            Could not find the domain controller for this domain.
        1766 consecutive failure(s).
        Last success @ 2016-09-13 11:07:14.

CN=Schema,CN=Configuration,DC=amd,DC=local
    Nombre-predeterminado-primer-sitio\VM-TEMPESTA-1 via RPC
        DC object GUID: 1a6efb04-16d2-44ac-bd6b-ebefe6046bf2
        Last attempt @ 2016-11-24 10:18:06 failed, result 1908 (0x774):
            Could not find the domain controller for this domain.
        1765 consecutive failure(s).
        Last success @ 2016-09-13 11:04:20.

DC=DomainDnsZones,DC=amd,DC=local
    Nombre-predeterminado-primer-sitio\VM-TEMPESTA-1 via RPC
        DC object GUID: 1a6efb04-16d2-44ac-bd6b-ebefe6046bf2
        Last attempt @ 2016-11-24 10:18:06 failed, result 1908 (0x774):
            Could not find the domain controller for this domain.
        1765 consecutive failure(s).
        Last success @ 2016-09-13 11:04:20.

DC=ForestDnsZones,DC=amd,DC=local
    Nombre-predeterminado-primer-sitio\VM-TEMPESTA-1 via RPC
        DC object GUID: 1a6efb04-16d2-44ac-bd6b-ebefe6046bf2
        Last attempt @ 2016-11-24 10:18:06 failed, result 1908 (0x774):
            Could not find the domain controller for this domain.
        1765 consecutive failure(s).
        Last success @ 2016-09-13 11:04:20.

Source: Nombre-predeterminado-primer-sitio\VM-TEMPESTA-1
******* 1766 CONSECUTIVE FAILURES since 2016-09-13 11:20:47
Last error: 1908 (0x774):
            Could not find the domain controller for this domain.

答案1

DNS 往往是罪魁祸首。如果你的客户端运行正常,那么你的 PC 肯定出了问题。

  • 尝试重新加入。
  • 您确定从 DHCP 获取的 DNS IP 是 DC 的 IP,并且没有将 PUBLIC IP 作为辅助 IP 包含进去吗?

  • IPv6 有时可能会成为问题。我不是说要禁用它,我不会。但请检查您的 IPv6 配置。在 DC 上,右键单击服务器并检查配置。我被雇来修复设置,有人将 DNS 服务器设置为侦听 IPv6 并在所有客户端上禁用 IPv6。有趣的东西。

一切都可以解决。请提供一些详细信息,但我有种直觉,你现在已经解决了!所以,击掌吧!

  • 诊断系统
  • IPCONFIG 服务器和您的工作站

干杯,Rob

相关内容