Назад | Перейти на главную страницу

Проблема с Active Directory / DNS

По какой-то причине у меня возникли проблемы с разрешением нашего локального доменного имени. Краткое описание всей моей сети: У нас два офиса. У каждого офиса есть собственный DC и собственный межсетевой экран, но оба офиса реплицируются друг с другом. Теперь одна из офисных сетей работает нормально, и у меня проблемы с той, в которой я сейчас использую.

Например, я могу получить доступ к \\ server1 \ myshare, но не могу получить доступ к \\ mydomain.net \ myshare в моей текущей сети. В другой сети все работает нормально. Теперь, через случайные промежутки времени, когда я нахожусь в RDP на server1, я МОГУ получить доступ к домену, но в других случаях я не могу. Я считаю, что выследил виновника, но даже не знаю, как начать исправлять эту проблему. Вот результат dcdiag:

C:\Users\Administrator>dcdiag

Directory Server Diagnosis

Performing initial setup:
   Trying to find home server...
   Home Server = BGS-HQ-VRDSVR01
   * Identified AD Forest.
   Ldap search capabality attribute search failed on server BGS-CP-VRDSVR01,
   return value = 81
   Got error while checking if the DC is using FRS or DFSR. Error:
   Win32 Error 81The VerifyReferences, FrsEvent and DfsrEvent tests might fail
   because of this error.
   Done gathering initial info.

Doing initial required tests

   Testing server: BGS-HQ\BGS-HQ-VRDSVR01
      Starting test: Connectivity
         The host 6282bfca-ade1-41c8-84dc-516ce19b49be._msdcs.billsgs.net could
         not be resolved to an IP address. Check the DNS server, DHCP, server
         name, etc.
         Got error while checking LDAP and RPC connectivity. Please check your
         firewall settings.
         ......................... BGS-HQ-VRDSVR01 failed test Connectivity

Doing primary tests

   Testing server: BGS-HQ\BGS-HQ-VRDSVR01
      Skipping all tests, because server BGS-HQ-VRDSVR01 is not responding to

А теперь ... самое интересное в том, что я выполнил следующее:

C:\Users\Administrator>nslookup 6282bfca-ade1-41c8-84dc-516ce19b49be._msdcs.bill
sgs.net
Server:  bgs-hq-vrdsvr01.billsgs.net
Address:  192.168.40.13

Name:    bgs-hq-vrdsvr01.billsgs.net
Address:  192.168.40.13
Aliases:  6282bfca-ade1-41c8-84dc-516ce19b49be._msdcs.billsgs.net

Мы будем очень благодарны за любые предложения по этому поводу. Я программист, а не сетевой администратор, поэтому я, конечно, не знаю многих методов отладки с этим, и особенно сервера Windows.

Также, в качестве примечания, мы на время отключили сервер репликации, потому что по какой-то причине он буквально использует все 12 ГБ ОЗУ на сервере. Я не уверен, связано ли это, но на данный момент это на заднем плане.

РЕДАКТИРОВАТЬ: Прошу прощения, мы работаем под Windows Server 2008 R2, а ниже - ipconfig / all с сервера.

C:\Users\Administrator>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : BGS-HQ-VRDSVR01
   Primary Dns Suffix  . . . . . . . : billsgs.net
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : billsgs.net

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection
   Physical Address. . . . . . . . . : 00-0C-29-03-BA-38
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.40.13(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.40.254
   DNS Servers . . . . . . . . . . . : 192.168.40.13
                                       192.168.40.254
   Primary WINS Server . . . . . . . : 192.168.40.13
   Secondary WINS Server . . . . . . : 192.168.41.17
   NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.{ADEC15A8-2603-40EB-964C-489CCBD11E08}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 11:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

РЕДАКТИРОВАТЬ: Вот результат проведенного мной теста DNS.

C:\Users\Administrator>dcdiag /test:DNS

Directory Server Diagnosis

Performing initial setup:
   Trying to find home server...
   Home Server = BGS-HQ-VRDSVR01
   * Identified AD Forest.
   Ldap search capabality attribute search failed on server BGS-CP-VRDSVR01, return value = 81
   Got error while checking if the DC is using FRS or DFSR. Error: Win32 Error 81The VerifyReferences, FrsEvent and DfsrEvent tests might fail because of this error.
   Done gathering initial info.

Doing initial required tests

   Testing server: BGS-HQ\BGS-HQ-VRDSVR01
      Starting test: Connectivity
         The host 6282bfca-ade1-41c8-84dc-516ce19b49be._msdcs.billsgs.net could not be resolved to an IP address. Check the DNS server, DHCP, server name, etc.
         Got error while checking LDAP and RPC connectivity. Please check your firewall settings.
         ......................... BGS-HQ-VRDSVR01 failed test Connectivity

Doing primary tests

   Testing server: BGS-HQ\BGS-HQ-VRDSVR01

      Starting test: DNS

         DNS Tests are running and not hung. Please wait a few minutes...
         ......................... BGS-HQ-VRDSVR01 passed test DNS

   Running partition tests on : ForestDnsZones

   Running partition tests on : DomainDnsZones

   Running partition tests on : Schema

   Running partition tests on : Configuration

   Running partition tests on : billsgs

   Running enterprise tests on : billsgs.net
      Starting test: DNS
         Test results for domain controllers:

            DC: BGS-HQ-VRDSVR01.billsgs.net
            Domain: billsgs.net


               TEST: Basic (Basc)
                  Error: No LDAP connectivity
                  Warning: adapter [00000007] Intel(R) PRO/1000 MT Network Connection has invalid DNS server: 192.168.40.254 (<name unavailable>)
                  No host records (A or AAAA) were found for this DC

               TEST: Forwarders/Root hints (Forw)
                  Error: All forwarders in the forwarder list are invalid.
                  Error: Both root hints and forwarders are not configured or broken. Please make sure at least one of them works.

               TEST: Delegations (Del)
                  Error: DNS server: bgs-cp-vrdsvr01.billsgs.net. IP:192.168.41.17 [Broken delegated domain _msdcs.billsgs.net.]
                  Error: DNS server: bgs-cp-vrdsvr01.billsgs.net. IP:192.168.41.17 [Broken delegated domain cp.billsgs.net.]

               TEST: Dynamic update (Dyn)
                  Warning: Failed to add the test record dcdiag-test-record in zone billsgs.net

               TEST: Records registration (RReg)
                  Network Adapter [00000007] Intel(R) PRO/1000 MT Network Connection:
                     Warning:
                     Missing CNAME record at DNS server 192.168.40.254:
                     6282bfca-ade1-41c8-84dc-516ce19b49be._msdcs.billsgs.net

                     Error:
                     Missing SRV record at DNS server 192.168.40.254:
                     _ldap._tcp.billsgs.net

                     Error:
                     Missing SRV record at DNS server 192.168.40.254:
                     _ldap._tcp.22017278-29d1-493a-b72d-e44b31411a70.domains._msdcs.billsgs.net

                     Error:
                     Missing SRV record at DNS server 192.168.40.254:
                     _kerberos._tcp.dc._msdcs.billsgs.net

                     Error:
                     Missing SRV record at DNS server 192.168.40.254:
                     _ldap._tcp.dc._msdcs.billsgs.net

                     Error:
                     Missing SRV record at DNS server 192.168.40.254:
                     _kerberos._tcp.billsgs.net

                     Error:
                     Missing SRV record at DNS server 192.168.40.254:
                     _kerberos._udp.billsgs.net

                     Error:
                     Missing SRV record at DNS server 192.168.40.254:
                     _kpasswd._tcp.billsgs.net

                     Error:
                     Missing SRV record at DNS server 192.168.40.254:
                     _ldap._tcp.BGS-HQ._sites.billsgs.net

                     Error:
                     Missing SRV record at DNS server 192.168.40.254:
                     _kerberos._tcp.BGS-HQ._sites.dc._msdcs.billsgs.net

                     Error:
                     Missing SRV record at DNS server 192.168.40.254:
                     _ldap._tcp.BGS-HQ._sites.dc._msdcs.billsgs.net

                     Error:
                     Missing SRV record at DNS server 192.168.40.254:
                     _kerberos._tcp.BGS-HQ._sites.billsgs.net

                     Error:
                     Missing SRV record at DNS server 192.168.40.254:
                     _ldap._tcp.gc._msdcs.billsgs.net

                     Error:
                     Missing SRV record at DNS server 192.168.40.254:
                     _gc._tcp.BGS-HQ._sites.billsgs.net

                     Error:
                     Missing SRV record at DNS server 192.168.40.254:
                     _ldap._tcp.BGS-HQ._sites.gc._msdcs.billsgs.net

                     Error:
                     Missing SRV record at DNS server 192.168.40.254:
                     _ldap._tcp.pdc._msdcs.billsgs.net

               Error: Record registrations cannot be found for all the network adapters

         Summary of test results for DNS servers used by the above domain controllers:

            DNS server: 192.168.41.17 (bgs-cp-vrdsvr01.billsgs.net.)
               2 test failure on this DNS server
               PTR record query for the 1.0.0.127.in-addr.arpa. failed on the DNS server 192.168.41.17
            DNS server: 128.63.2.53 (h.root-servers.net.)
               1 test failure on this DNS server
               PTR record query for the 1.0.0.127.in-addr.arpa. failed on the DNS server 128.63.2.53
            DNS server: 128.8.10.90 (d.root-servers.net.)
               1 test failure on this DNS server
               PTR record query for the 1.0.0.127.in-addr.arpa. failed on the DNS server 128.8.10.90
            DNS server: 192.112.36.4 (g.root-servers.net.)
               1 test failure on this DNS server
               PTR record query for the 1.0.0.127.in-addr.arpa. failed on the DNS server 192.112.36.4
            DNS server: 192.168.40.254 (<name unavailable>)
               1 test failure on this DNS server
               Name resolution is not functional. _ldap._tcp.billsgs.net. failed on the DNS server 192.168.40.254

            DNS server: 192.203.230.10 (e.root-servers.net.)
               1 test failure on this DNS server
               PTR record query for the 1.0.0.127.in-addr.arpa. failed on the DNS server 192.203.230.10
            DNS server: 192.228.79.201 (b.root-servers.net.)
               1 test failure on this DNS server
               PTR record query for the 1.0.0.127.in-addr.arpa. failed on the DNS server 192.228.79.201
            DNS server: 192.33.4.12 (c.root-servers.net.)
               1 test failure on this DNS server
               PTR record query for the 1.0.0.127.in-addr.arpa. failed on the DNS server 192.33.4.12
            DNS server: 192.36.148.17 (i.root-servers.net.)
               1 test failure on this DNS server
               PTR record query for the 1.0.0.127.in-addr.arpa. failed on the DNS server 192.36.148.17
            DNS server: 192.5.5.241 (f.root-servers.net.)
               1 test failure on this DNS server
               PTR record query for the 1.0.0.127.in-addr.arpa. failed on the DNS server 192.5.5.241
            DNS server: 192.58.128.30 (j.root-servers.net.)
               1 test failure on this DNS server
               PTR record query for the 1.0.0.127.in-addr.arpa. failed on the DNS server 192.58.128.30
            DNS server: 193.0.14.129 (k.root-servers.net.)
               1 test failure on this DNS server
               PTR record query for the 1.0.0.127.in-addr.arpa. failed on the DNS server 193.0.14.129
            DNS server: 198.41.0.4 (a.root-servers.net.)
               1 test failure on this DNS server
               PTR record query for the 1.0.0.127.in-addr.arpa. failed on the DNS server 198.41.0.4
            DNS server: 199.7.83.42 (l.root-servers.net.)
               1 test failure on this DNS server
               PTR record query for the 1.0.0.127.in-addr.arpa. failed on the DNS server 199.7.83.42
            DNS server: 202.12.27.33 (m.root-servers.net.)
               1 test failure on this DNS server
               PTR record query for the 1.0.0.127.in-addr.arpa. failed on the DNS server 202.12.27.33
            DNS server: 209.253.113.10 (<name unavailable>)
               1 test failure on this DNS server
               PTR record query for the 1.0.0.127.in-addr.arpa. failed on the DNS server 209.253.113.10
            DNS server: 209.253.113.2 (<name unavailable>)
               1 test failure on this DNS server
               PTR record query for the 1.0.0.127.in-addr.arpa. failed on the DNS server 209.253.113.2
         Summary of DNS test results:

                                            Auth Basc Forw Del  Dyn  RReg Ext
            _________________________________________________________________
            Domain: billsgs.net
               BGS-HQ-VRDSVR01              PASS FAIL FAIL FAIL WARN FAIL n/a

         ......................... billsgs.net failed test DNS

и .. вывод "repadmin / bind BGS-VRDSVR01" ..

C:\Users\Administrator.BILLSGS>repadmin /bind BGS-HQ-VRDSVR01
Bind to BGS-HQ-VRDSVR01 succeeded.
NTDSAPI V1 BindState, printing extended members.
    bindAddr: BGS-HQ-VRDSVR01
Extensions supported (cb=48):
    BASE                             : Yes
    ASYNCREPL                        : Yes
    REMOVEAPI                        : Yes
    MOVEREQ_V2                       : Yes
    GETCHG_COMPRESS                  : Yes
    DCINFO_V1                        : Yes
    RESTORE_USN_OPTIMIZATION         : Yes
    KCC_EXECUTE                      : Yes
    ADDENTRY_V2                      : Yes
    LINKED_VALUE_REPLICATION         : Yes
    DCINFO_V2                        : Yes
    INSTANCE_TYPE_NOT_REQ_ON_MOD     : Yes
    CRYPTO_BIND                      : Yes
    GET_REPL_INFO                    : Yes
    STRONG_ENCRYPTION                : Yes
    DCINFO_VFFFFFFFF                 : Yes
    TRANSITIVE_MEMBERSHIP            : Yes
    ADD_SID_HISTORY                  : Yes
    POST_BETA3                       : Yes
    GET_MEMBERSHIPS2                 : Yes
    GETCHGREQ_V6 (WINDOWS XP PREVIEW): Yes
    NONDOMAIN_NCS                    : Yes
    GETCHGREQ_V8 (WINDOWS XP BETA 1) : Yes
    GETCHGREPLY_V5 (WINDOWS XP BETA 2): Yes
    GETCHGREPLY_V6 (WINDOWS XP BETA 2): Yes
    ADDENTRYREPLY_V3 (WINDOWS XP BETA 3): Yes
    GETCHGREPLY_V7 (WINDOWS XP BETA 3) : Yes
    VERIFY_OBJECT (WINDOWS XP BETA 3): Yes
    XPRESS_COMPRESSION               : Yes
    DRS_EXT_ADAM                     : No
    GETCHGREQ_V10                    : Yes
    RECYCLE BIN FEATURE              : No
Site GUID: afe99967-2bae-4850-b6c8-a84fc37cbd87
Repl epoch: 0
Forest GUID: 1c4eb6fd-77b5-46de-a4b0-c9c51087eb7d
Security information on the binding is as follows:
    SPN Requested:  LDAP/BGS-HQ-VRDSVR01
    Authn Service:  9
    Authn Level:  6
    Authz Service:  0

Также вот список обработки ...

http://i.imgur.com/sRpa9.png

http://i.imgur.com/rQJT5.png

Чтобы узнать, связано ли это с брандмауэром на основе хоста, временно отключите доменный, общедоступный и частный профили. У вас есть несколько интерфейсов, так как в Windows Server 2008 действует наиболее строгий профиль. Запустите это из командной строки с повышенными привилегиями

  • netsh advfirewall отключил состояние publicprofile
  • netsh advfirewall отключил состояние частного профиля
  • netsh advfirewall выключить состояние профиля домена

Использование памяти может вводить в заблуждение. Часто его используют, но при необходимости освобождают. Просмотрите журнал рабочих событий детектора исчерпания ресурсов (откройте eventvwr и перейдите к приложениям и службам / microsoft / windows / детектор исчерпания ресурсов / операционный), чтобы определить, не заканчивается ли память.

Используйте Process Explorer, чтобы увидеть использование памяти и узнать, что доступно. Если доступность выглядит низкой, проверьте RAMMap от Syinternals, чтобы получить представление об использовании. См. Объяснение RAMmap на http://blogs.technet.com/b/askperf/archive/2010/08/13/introduction-to-the-new-sysinternals-tool-rammap.aspx потому что у меня были случаи, когда метафайл "потреблял" его. Но это было ожидаемое поведение.

Ошибка 81 в DCDiag означает, что сервер LDAP недоступен. Есть ли у вас какие-либо сторонние продукты на самом DC, обеспечивающие связанное поведение антивирус + брандмауэр? Если вы можете получить доступ к LDAP, находясь локально на DC, но не удаленно, и если вы уверены, что брандмауэр на основе хоста не используется, я бы проверил, фильтруют / отбрасывают ли какие-либо промежуточные сетевые устройства пакеты.

Если у вас есть общедоступная сеть на любом из адаптеров, убедитесь, что основным DNS-сервером должен быть «публичный IP-адрес самого себя», который решил проблему для меня.