dns cname records


If i have a DNS server that hosts the following zones:


An 'A' record called portal.zone1.com

Can you create a cname record for portal.zone1.com that points to newportal.thezone.com.  This zone is held on a different server.

These DNS servers are windows 2008 r2
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.

Cliff GaliherCommented:
Yes, you can create such a record. It will be up to the DNS client to process that result and do further lookups.
cmatchettAuthor Commented:
how can this be achieved?
Cliff GaliherCommented:
Right click in zone1.com, new CNAME record, the record name is portal and the target is the FQDN where you want it to point. You could make it Google.com if you wanted. You don't need to control the target domain, although, if you don't, you could obviously not control the final IP the client gets or any SS' certs the final server sends, so that is generally frowned upon.
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

cmatchettAuthor Commented:
if i right click on zone 1 > new cname record

there is an alias name field
FQDN text box which is greyed out
then a target text box

whatever i enter into the alias field is added to the FQDN text box.

i put www.google.com in the alias field and the FQDN becaomes www.google.com.zone1.com
Cliff GaliherCommented:
Add a trailing dot. This is in accordance with DNS RFCs.
cmatchettAuthor Commented:
This doesn't work using the DNS management console a windows Server dns server.  Can you give me a screenshot of what you mean?
Cliff GaliherCommented:
I think you are reversing the purposes of the boxes.

If I have a zone, cliff.org, and I want search.cliff.org to point to www.Google.com

Then the alias for the cname record is simply "search" and yes, the FQDN is autopopulated. Which, since I'm creating the record in that zone, makes complete sense.

The target, (where I want search.cliff.org to point to, like pointing an arrow at a target) is "www.Google.com."  with that trailing . Without the quotes. Tada, CName record.

What isn't working for you???

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
cmatchettAuthor Commented:
I understand what you are saying now..

What i was doing was...

There is already an A record for portal.zone1.com

When i was trying to create the cname record, i was

putting www.google.com. as the Alias name
and in the target, i was browsing for portal.zone1.com


delete A record for portal.zone1.com
then create cname record with an alias of portal.zone1.com with a target of www.google.com.
Cliff GaliherCommented:
Looks right to me. Was there a question in that last response?
cmatchettAuthor Commented:
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.

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.