Windows Server 2008 - How do I configure the DNS server correctly?

I have installed a new Windows Server 2008 R2 with the DNS Server role. I would like to configure the address and in the DNS server. Since I'm quite a DNS noob I haven't got any idea how to configure this correctly in the DNS Manager. I have added a Forward Lookup Zone named

When I do a nslookup on I would like to get the following reply.


Non-authoritative answer:

Can anybody tell me how to configure this correctly in the DNS Manager?
Or link to some how-to noob documentation.

Thanks in advance,
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.

Darius GhassemCommented:
Add a DNS A record called www then put the IP address of the server that you want to handle the website.

Same goes with any other sites for an example you would add A record called company.

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
Looks like you have it configured correctly. It appears you setup the and then setup www as an alias pointing to If you want to mask as being the return address, then setup www as a host record with the IP of
Be sure that the Clients uses the DNS Server and that you set a Forwarder for unknown domains to your router or ISP to speed up Nameresolving in the whole world...
Clyde_RadcliffeAuthor Commented:
Thanks for the replies, but I think I didn't explain the problem correctly:
I have created a primary zone in the DNS Manager called
When the primary DNS zone is added it creates the SOA and NS record..
I have added the new host www and added the IP address

When I do a nslookup on it returns:

Server: UnKnown

However I would like the DNS to return the following information:


I would like it to return the server address name but now it just returns: UnKnown.
How can I achieve this?

Thanks in advance!
If the is not in DNS: Add it as a host record (or run ipconfig /registerdns from server)
Then add and alias record for and point it to the Server DNS entry.
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

From novice to tech pro — start learning today.