Adding a computer to a Windows 2008 Domain

When trying to add a compuer with Windows 7 Professional to a Windows 2008 Server I get this message:
n attempt to resolve the DNS name of a domain controller in the domain being joined has failed.  Please verify this client is configured  to reach a DNS server that can resolve DNS names in the target domain.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

At the command prompt enter nslookup
set type=srv

Your domain controller(s) should be listed if configured correctly. (Replace with your actual domain name)
Make sure that the IP settings of your network adapter are correct.  ie that they have been set by the domain you are trying to connect to.
Go to Network and Sharing Centre and then Change Adapter Settings.
Double click on your adapter and then Diagnose.
This may resolve your issue.
windows 7 default gateway must be the same IP address of DNS.
and your domain controller also have same default gateway
Become an IT Security Management Expert

In today’s fast-paced, digitally transformed world of business, the need to protect network data and ensure cloud privacy has never been greater. With a B.S. in Network Operations and Security, you can get the credentials it takes to become an IT security management expert.

In the domain join dialogue, if your are using the NetBIOS name of your domain, replace it with the FQDN.
e.g. instead of "domain", use ""
kheaneyAuthor Commented:
I didn't add the gateway as the internet was not working......will try this later when it is up and running
The default gateway should not be an issue unless your DC is on a different subnet.
Can you PING your domain controller from the PC?
kheaneyAuthor Commented:
Yes I was able to ping the domain controller...
To ping, are you using the IP address, the server name, or the FQDN?
If you cannot ping using the server name or server FQDN, then DNS is the issue.
You will need to add the correct DNS servers to your NIC settings.
Did you try using the FQDN for the domain join?

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
kheaneyAuthor Commented:
sounds good I will try that...
kheaneyAuthor Commented:
Nic was not configured correctly now is and everthing is good  Thanks
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
Network Security

From novice to tech pro — start learning today.