Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2162
  • Last Modified:

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
0
amanzoor
Asked:
amanzoor
  • 4
  • 3
1 Solution
 
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
 
Chris DentPowerShell 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now