Active Directory - DNS entries missing after installation

I've just installed active directory on a windows 2003 system, and installed DNS along with AD - but the DNS is missing a lot of important entries that mean the AD is not working. This is a new domain in a new forest.

Looking in the DNS properties I can see the mydomain.local zone, which only contains an A record. Uder that in the tree view I can see a folder called _msdcs, but the only entry here is a single NS entry with the server's IP address.

The _rcp, _udp, and other entries are all missing.

How can I recreate the DNS entries for this AD domain?

[edit] This is a brand-new domain, there is only one system (the AD controller) and there are no other DNS servers the zone can be copied from.


Solution 1:

Personally, I would be suspicious that the dcpromo did not run properly if you are missing those entries right after promoting the server, with it being the only server on the Domain. I'd be tempted to do a dcpromo /demote to destroy the domain and start again.

That being said.

And you found my suggestion as I was typing it.

In addition to the netdiag /fix you found. I would run a dcdiag /e /fix to verify the domain.

Solution 2:

On domain controller in new domain,

  • make sure it is using proper DNS inside your active directory domain (same as you are viewing DNS entries on)
  • make sure there are no alternative DNS servers specified
  • ensure that network is up
  • run following command on command line:

    ipconfig /registerdns
    

then restart netlogon service, and you should be good.

if you still are missing DNS after that, check errors in event log of DNS server and new domain controloler