Domain Controller Could not be Contacted

I was having problems not being able to connect to my domain so I removed my pc from the doamin by telling it to use a workgroup instead. My though was that after a reboot I would rejoin the domain. but when I try to join I get the following error.

An Active Directory Domain Controller for the domain mydomain could not be contacted. Ensure that the domain name is tyhped correctly. If the name is correct, click Details for troubleshooting Information.

the details are as follows...

Note: This information is intended for a network administrator.  If you are not your network's administrator, notify the administrator that you received this information, which has been recorded in the file C:\Windows\debug\dcdiag.txt.

The domain name mydomain might be a NetBIOS domain name.  If this is the case, verify that the domain name is properly registered with WINS.

If you are certain that the name is not a NetBIOS domain name, then the following information can help you troubleshoot your DNS configuration.

The following error occurred when DNS was queried for the service location (SRV) resource record used to locate an Active Directory Domain Controller for domain mydomain:

The error was: "DNS name does not exist."
(error code 0x0000232B RCODE_NAME_ERROR)

The query was for the SRV record for _ldap._tcp.dc._msdcs.mydomain

Common causes of this error include the following:

- The DNS SRV records required to locate a AD DC for the domain are not registered in DNS. These records are registered with a DNS server automatically when a AD DC is added to a domain. They are updated by the AD DC at set intervals. This computer is configured to use DNS servers with the following IP addresses:

192.168.0.1

- One or more of the following zones do not include delegation to its child zone:

mydomain
. (the root zone)

For information about correcting this problem, click Help.

I have replaced my domain name in the above text with "mydomain" and changed the DNS servers ip to 192.168.0.1 but you get the point. can I just create the SRV record for _ldap._tcp.dc._msdcs.mydomain and if so how. If not what do I do here.
dustinwkAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ShazbotOKCommented:
Can this problem be duplicated on other PC's? (if yes you may have a corrupted WINS metadata entry on your WINS server)

Can that workstation ping the IP of the DC?

What is the HOST name returned when you run "NBTSTAT -a 192.168.0.1"? is that a matched netbios name to your DC?

If no try running "IPCONFIG /FLUSHDNS" if still failing you may want to check the local PC's HOST file (c:\windows\system32\drivers\etc\HOSTS) which you can open in notepad and verify that a bad entry has not been inserted into that file.

Lets start with that...
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dustinwkAuthor Commented:
Ug! OK its working now I told it to join my domain again but this time instead of just DOMAIN i used DOMAIN.local and it worked. I dont know why this is cause I never have to do that and im pretty sure i didnt do it that way on this pc the first time. but its working now so thanks for the fast response. by the way this is windows vista and its been giving me hell since day one!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Networking

From novice to tech pro — start learning today.

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.