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
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
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
All Courses

From novice to tech pro — start learning today.