Link to home
Start Free TrialLog in
Avatar of pterranova13
pterranova13Flag for United States of America

asked on

DNS and CNAME Records

I want to add a CNAME record to my internal DNS but unsure it is will cause a problem.

Current CNAME record for my company website is

www.mycompany.com which points to a server host.website.com

I want to add ----

mycompany.com pointint to same server host.website.com

My question is the mycompany portion is the name of the ZONE as well and I was not sure if this would cause a problem when setting this CNAME up.
Avatar of spiderwilk007
spiderwilk007
Flag of United States of America image

Yes, mycompany.com will be the name of the zone. Then you just add a CNAME record leave the first line blank because you want the root zone name to point to the new address. This will not cause a problem unless you have other DNS records such as mail.mycompany.com or www.mycompany.com. In which case you then have to set up all of thier respected DNS entries also for your internal addresses, including MX records for mail servers.
Scratch that, you probably don't need to setup MX records, just A records and CNAME records. It will look something like this:

Forward Lookup Zone: mycompany.com
NAME:                               Type:                      DATA:
(same as parent folder)    CNAME                   host.website.com
www                                CNAME                   host.website.com
mail                                    A                            192.168.X.X

etc.
Avatar of Chris Dent
This:

> (same as parent folder)    CNAME                   host.website.com

Cannot be a CNAME.

Violates RFCs, and the vast majority of DNS servers simply will not permit it.

It must be a Host (A) record and therefore must use an IP address.

Chris
Yes, actually that is true you will need to get the IP address of host.website.com and use an A record.
ASKER CERTIFIED SOLUTION
Avatar of DrDave242
DrDave242
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial