[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

dns cname records

Posted on 2014-08-21
10
Medium Priority
?
246 Views
Last Modified: 2014-08-22
Hi,

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

zone1.com
zone2.com
zone3.com

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
0
Comment
Question by:cmatchett
  • 5
  • 5
10 Comments
 
LVL 60

Expert Comment

by:Cliff Galiher
ID: 40275940
Yes, you can create such a record. It will be up to the DNS client to process that result and do further lookups.
0
 

Author Comment

by:cmatchett
ID: 40275960
how can this be achieved?
0
 
LVL 60

Expert Comment

by:Cliff Galiher
ID: 40276004
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.
0
A Cyber Security RX to Protect Your Organization

Join us on December 13th for a webinar to learn how medical providers can defend against malware with a cyber security "Rx" that supports a healthy technology adoption plan for every healthcare organization.

 

Author Comment

by:cmatchett
ID: 40276106
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
0
 
LVL 60

Expert Comment

by:Cliff Galiher
ID: 40276115
Add a trailing dot. This is in accordance with DNS RFCs.
0
 

Author Comment

by:cmatchett
ID: 40277846
This doesn't work using the DNS management console a windows Server dns server.  Can you give me a screenshot of what you mean?
0
 
LVL 60

Accepted Solution

by:
Cliff Galiher earned 2000 total points
ID: 40277858
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???
0
 

Author Comment

by:cmatchett
ID: 40277867
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

actions

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.
0
 
LVL 60

Expert Comment

by:Cliff Galiher
ID: 40277874
Looks right to me. Was there a question in that last response?
0
 

Author Closing Comment

by:cmatchett
ID: 40278683
excellent
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question