How to fix 4013 DNS error (no DNS RPC Connectivity)

TheContius 6 Reputation points
2023-02-28T09:40:38.8633333+00:00

Good Morning,

I'm trying to troubleshoot 4013 problem on my Domain Controllers.

Both randomly present this error, related to AD synchronization with other DCs in the enviroment.

Then I run the "dcdiag/test:DNS" and the result is this (name are modified in order to hold privacy):

Can someone explain me the output?Becouse seems that the DNS is working.

Thank you in advance

Directory Server Diagnosis

Performing initial setup:
   Trying to find home server...
   Home Server = TESTNAMESRV
   * Identified AD Forest.
   Done gathering initial info.

Doing initial required tests

   Testing server: Nome-predefinito-primo-sito\TESTNAMESRV
      Starting test: Connectivity
         ......................... TESTNAMESRV passed test Connectivity

Doing primary tests

   Testing server: Nome-predefinito-primo-sito\TESTNAMESRV

      Starting test: DNS

         DNS Tests are running and not hung. Please wait a few minutes...
         ......................... TESTNAMESRV failed 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 : contosodomain.com

   Running enterprise tests on : contosodomain.com
      Starting test: DNS
         Test results for domain controllers:

            DC: TESTNAMESRV.contosodomain.com
            Domain: contosodomain.com


               TEST: Basic (Basc)
                  Warning: no DNS RPC connectivity (error or non Microsoft DNS server is running)

               TESTNAMESRV                    PASS WARN n/a  n/a  n//a
         ......................... contosodomain.com passed test DNS
Windows for business | Windows Client for IT Pros | Directory services | Active Directory
Windows for business | Windows Server | User experience | Other
{count} vote

3 answers

Sort by: Most helpful
  1. Alistair Ross 0 Reputation points
    2023-02-28T10:36:05.3733333+00:00

    Hello

    It could be one of many things causing this issue. Go through this troubleshooting guide which should help you resolve this issue

    https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/manage/troubleshoot/verify-dns-functionality-to-support-directory-replication

    kind regards

    Alistair

    0 comments No comments

  2. Limitless Technology 44,776 Reputation points
    2023-03-01T16:45:02.77+00:00

    Hi. Thank you for your question and reaching out. I’d be more than happy to help you with your query

    I have linked an article below that may help solve your issue. Here is what the article has to say:

    Some Microsoft and external content have recommended setting the registry value Repl Perform Initial Synchronizations to 0 to bypass initial synchronization requirements in Active Directory. The specific registry subkey and the values for that setting are as follows:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTDS\Parameters

    Value name: Repl Perform Initial Synchronizations

    Value type: REG_DWORD

    Value data: 0

    This configuration change isn't recommended for use in production environments, or in any environment on an ongoing basis. The use of Repl Perform Initial Synchronizations should be used only in critical situations to resolve temporary and specific problems. The default setting should be restored after such problems are resolved.

    For more information/reference, please see https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/troubleshoot-dns-event-id-4013

    If the reply was helpful, please don’t forget to upvote or accept as answer, thank you.

    0 comments No comments

  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.