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
LVL 5
amanzoorNetwork infrastructure AdminAsked:
Who is Participating?
 
Chris DentConnect With a Mentor PowerShell DeveloperCommented:

Nope, that would be too easy. Did you try replacing the entries with entries for the new domain? Or does it have duplicates in there?

Chris
0
 
Chris DentPowerShell DeveloperCommented:

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
0
 
amanzoorNetwork infrastructure AdminAuthor Commented:
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
0
Worried about phishing attacks?

90% of attacks start with a phish. It’s critical that IT admins and MSSPs have the right security in place to protect their end users from these phishing attacks. Check out our latest feature brief for tips and tricks to keep your employees off a hackers line!

 
amanzoorNetwork infrastructure AdminAuthor Commented:
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

0
 
amanzoorNetwork infrastructure AdminAuthor Commented:
chris:
I completly removed the entries of my old domain name.
0
 
amanzoorNetwork infrastructure AdminAuthor Commented:
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
0
 
Chris DentPowerShell DeveloperCommented:

Good stuff, glad it worked out :)

Chris
0
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.

All Courses

From novice to tech pro — start learning today.