DNS Error, Event 5781

Posted on 2009-05-14
Medium Priority
Last Modified: 2012-06-27
Hi all,

SBS2003 , getting some DNS problems, one of which is shown below

Event ID 5781
Dynamic registration or deletion of one or more DNS records associated with DNS domain 't.' failed.  These records are used by other computers to locate this server as a domain controller (if the specified domain is an Active Directory domain) or as an LDAP server (if the specified domain is an application partition).  
Possible causes of failure include:  

- TCP/IP properties of the network connections of this computer contain wrong IP address(es) of the preferred and alternate DNS servers  (CHECKED THIS IS OK)
- Specified preferred and alternate DNS servers are not running (CHECKED OUT OK)
- DNS server(s) primary for the records to be registered is not running (CHECKED OUT OK)
- Preferred or alternate DNS servers are configured with wrong root hints (CHECKED OUT OK)
- Parent DNS zone contains incorrect delegation to the child zone authoritative for the DNS records that failed registration  (NOT RELEVANT)

Fix possible misconfiguration(s) specified above and initiate registration or deletion of the DNS records by running 'nltest.exe /dsregdns' from the command prompt or by restarting Net Logon service. Nltest.exe is available in the Microsoft Windows Server Resource Kit CD.

I have uninstalled DNS, deleted the DNS folder and re-installed. Still get this error popping into event log. Where would I look for this spurious domain "t." in the registry ? or in AD ?
Question by:realtec
  • 2

Expert Comment

ID: 24382902
Hi there
Are you getting any NetLogon error as well within the DNS event log?

Accepted Solution

Waynepre earned 750 total points
ID: 24382985
In the event viewer im guessing you are also getting error id 4007, 5781 ,4439 & 53258 try the following.

In DNS:  
Event ID 4007
The DNS server was unable to open zone DOMAINNAME in the Active Directory from the application directory partition DomainDnsZones.DOMAINNAME. This DNS server is configured to obtain and use information from the directory for this zone and is unable to load the zone without it. Check that the Active Directory is functioning properly and reload the zone. The event data is the error code.
-      1 Go to the properties of your forward looup zone under the DNS manager: Make the forward lookup zone 'not active directory integrated' and apply, then make it 'active directory intergraded' and apply!

-      2 Then restart DNS service en reload the zone in DNS manager, no error should occur!  
Event ID 5781
Dynamic registration or deletion of one or more DNS records associated with DNS domain 'ForestDnsZones.DOMAINNAME.' failed. These records are used by other computers to locate this server as a domain controller (if the specified domain is an Active Directory domain) or as an LDAP server (if the specified domain is an application partition).
-      Try restarting the netlogon service. If this doesn't work do the following.
-      Stop the Netlogon service.
-      Rename the Netlogon.dns file to Netlogon.old, and then rename the Netlogon.dnb file to Netlogon.old2.
Note Netlogon.dns and Netlogon.dnb are located in the Windows\System32\Config folder.
-      Start the Netlogon service or restart your computer.
To prevent the DNS Event 4007 errors from occurring, perform one of the following steps:
If they exist, manually remove forward lookup zones that still appear in DNS manager that are not associated with the current Active Directory domain, and then restart DNS.
In most cases, Event ID 4007 is resolved by removing from the registry the DNS zone that is indicated in the error when it no longer exists in Active Directory. The zone information is usually left in the registry when the DC previously hosted another zone, was demoted, and then was re-promoted to host a new zone. The location in the registry to remove the problem zone when it does not exist in AD is as follows:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DNS Server\Zones

Event ID 53258 MSDTC Errors
You might see the following MSDTC errors:
Event with source MSDTC, ID 53258: MS DTC could not correctly process a DC Promotion/Demotion event. MS DTC will continue to function and will use the existing security settings. Error Specifics: %1
Event with source MSDTC, ID 4439: Failed to verify MS DTC service account information. Internal Information : msdtc_trace : File: d:\srvrtm\com\complus\dtc\dtc\adme\uiname.cpp, Line: 9390, VerifyAccountInfo: CService::Create failed, hr=0x80070005
To get rid of the first event, do the following:
-      From Administrative Tools, start Component Services.
-      In the MMC snap-in, go to Component Services, Computers, My Computer.
-      Open the properties of My Computer and click the MSDTC tab.
-      Click the button Security Configuration.
-      Do not change anything, just click OK (silly, I know).
-      Click OK again and then close the MMC
-      Stop and start MSDTC. (net stop/net start in dos) The event with ID 53258 should not appear anymore.
Event Id 4439
To get rid of the 4439 event, do the same as for the Windows Time Service. In the System Services section of the servers policy in AD, give the account SERVICE read/start/stop rights. Refresh group policy with gpupdate /force and then restart MSTDC. The error should disappear.
I hope this helps any problems just drop me a reply :) good luck

Expert Comment

ID: 37658619
that is really helpfull thank u expert

Featured Post

We Need Your Input!

WatchGuard is currently running a beta program for our new macOS Host Sensor for our Threat Detection and Response service. We're looking for more macOS users to help provide insight and feedback to help us make the product even better. Please sign up for our beta program today!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Resolve DNS query failed errors for Exchange
There’s hardly a doubt that Business Communication is indispensable for both enterprises and small businesses, and if there is an email system outage owing to Exchange server failure, it definitely results in loss of productivity.
How to fix display issue, screen flickering issue when I plug in power cord to the machine. Before I start explaining the solution lets check out once the issue how it looks like after I connect the power cord. most of you also have faced this…
Free Data Recovery software is an advanced solution from Kernel Tools to recover data and files such as documents, emails, database, media and pictures, etc. It supports recovery from physical & logical drive after a hard disk crash, accidental/inte…

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question