Link to home
Start Free TrialLog in
Avatar of amanzoor
amanzoorFlag for Canada

asked on

DNS server netlogon.dns file invalid entried

Hi all
I am running server 2003 ent edition domain.  My netdiag was failing over dns test with "DNS test . . . . . . . . . . . . . : Failed
       [FATAL] File \config\netlogon.dns contains invalid DNS entries.       [FA
TAL] File \config\netlogon.dns contains invalid DNS entries.       [FATAL] File
\config\netlogon.dns contains invalid DNS entries.       [FATAL] File \config\ne
tlogon.dns contains invalid DNS entries.    [FATAL] No DNS servers have the DNS
records for this DC registered.

I looked at this file and found that it takes lots of values of our OLD DOmain name.  Can I remove those entries or simply rename this file? if not whats the easist way to fix this issue.
Thanks
Avatar of Chris Dent
Chris Dent
Flag of United Kingdom of Great Britain and Northern Ireland image


Used the Domain Rename tool?

You might find you can get away with Find / Replace in the netlogon.dns file to correct the entries.

Chris
Avatar of amanzoor

ASKER

Chris-Dent
I backed up the copy of this netlogon.dns and removed all entries of our old domain name.  did ipconfig /flushdns, restarted dns and then ipconfig /registerdns.  Looked at the file and the old domain name came back.  I wonder where this file is getting the entries from, is it adsiedit??
Help plz
ASKER CERTIFIED SOLUTION
Avatar of Chris Dent
Chris Dent
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Running dcdiag /test:dns gave me:   Help how to fix it?

C:\Documents and Settings\Administrator.mydomain>dcdiag /test:dns

Domain Controller Diagnosis

Performing initial setup:
   Done gathering initial info.

Doing initial required tests

   Testing server: Oak\SERV01
      Starting test: Connectivity
         ......................... SERV01 passed test Connectivity

Doing primary tests

   Testing server: Oak\SERV01

DNS Tests are running and not hung. Please wait a few minutes...

   Running partition tests on : ForestDnsZones

   Running partition tests on : DomainDnsZones

   Running partition tests on : Schema

   Running partition tests on : Configuration

   Running partition tests on : domainname

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

            DC: serv01.domain.com
            Domain: domain.com


               TEST: Forwarders/Root hints (Forw)
                  Error: Root hints list has invalid root hint server: l.root-se
rvers.net. (198.32.64.12)

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

            DNS server: 198.32.64.12 (l.root-servers.net.)
               1 test failure on this DNS server
               This is not a valid DNS server. PTR record query for the 1.0.0.12
7.in-addr.arpa. failed on the DNS server 198.32.64.12

         ......................... domain.com passed test DNS

chris:
I completly removed the entries of my old domain name.
Chris:
As you said, I renamed the entries in netlogon.dns and now the DNS test in netdiag is passed and all NICS are properly registered.
Thanks

Good stuff, glad it worked out :)

Chris