Hi All, One of our customer having the following requirement. There is a domain abcd.com ( zone file created , A records are pointed ). He has another domain xyz.com. He want us to create a separate zone file for " xyz.com " & abcd.com should be the CNAME of it. ( No "A" records mentioned ) I'm bit confuse about adding this in zone file. Can any one help ? :( -- ~~( ŊëŌ )~~
On Wed, 11 Dec 2013, Methsri Wickramarathna wrote:
Hi All, One of our customer having the following requirement.
There is a domain abcd.com ( zone file created , A records are pointed ). He has another domain xyz.com. He want us to create a separate zone file for " xyz.com " & abcd.com should be the CNAME of it. ( No "A" records mentioned )
I'm bit confuse about adding this in zone file. Can any one help ? :(
This is really the wrong list to be asking for help with basic DNS. What you've described as what your customer wants is not possible. Google: cname and other data to learn why. ---------------------------------------------------------------------- Jon Lewis, MCP :) | I route | therefore you are _________ http://www.lewis.org/~jlewis/pgp for PGP public key_________
short answer: can't be done You cannot have a cname and 'other' information for same entry. As a zone requires an SOA record, you cannot have a CNAME for the entire domain (theoretically a registrar could do it in .com, but afaik nobody does his). Depending on customer's requirements, can put in a wildcard *.abcd.com in cname xyz.com Or can load the same zone file for both abcd.com and xyz.com, so in both, mail<domain> goes to the same place On Wed, 11 Dec 2013, Methsri Wickramarathna wrote:
Hi All, One of our customer having the following requirement.
There is a domain abcd.com ( zone file created , A records are pointed ). He has another domain xyz.com. He want us to create a separate zone file for " xyz.com " & abcd.com should be the CNAME of it. ( No "A" records mentioned )
I'm bit confuse about adding this in zone file. Can any one help ? :(
--
~~( ??? )~~
Confused :( Do your customer want: www.xyz.com pointing to the same IP as www.abcd.com without having to manage xyz.com? ------ With bind: zonefile xyz.com $ORIGIN xyz.com. <yadiyada TTL SOA> $INCLUDE domains/abcd.com.all zonefile abcd.com $ORIGIN abcd.com. <yadiyada TTL SOA> $INCLUDE domains/abcd.com.all Just make sure nothing is the .all has the .abcd.com. (dots are important). Without bind: Good luck. ----- Alain Hebert ahebert@pubnix.net PubNIX Inc. 50 boul. St-Charles P.O. Box 26770 Beaconsfield, Quebec H9W 6G7 Tel: 514-990-5911 http://www.pubnix.net Fax: 514-990-9443 On 12/12/13 13:54, David Dowdle wrote:
short answer: can't be done
You cannot have a cname and 'other' information for same entry. As a zone requires an SOA record, you cannot have a CNAME for the entire domain (theoretically a registrar could do it in .com, but afaik nobody does his).
Depending on customer's requirements, can put in a wildcard *.abcd.com in cname xyz.com
Or can load the same zone file for both abcd.com and xyz.com, so in both, mail<domain> goes to the same place
On Wed, 11 Dec 2013, Methsri Wickramarathna wrote:
Hi All, One of our customer having the following requirement.
There is a domain abcd.com ( zone file created , A records are pointed ). He has another domain xyz.com. He want us to create a separate zone file for " xyz.com " & abcd.com should be the CNAME of it. ( No "A" records mentioned )
I'm bit confuse about adding this in zone file. Can any one help ? :(
--
~~( ??? )~~
participants (4)
-
Alain Hebert
-
David Dowdle
-
Jon Lewis
-
Methsri Wickramarathna