CNAME issue
Alain Hebert
ahebert at pubnix.net
Thu Dec 12 20:12:31 UTC 2013
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 at 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 ? :(
>>
>> --
>>
>>
>> ~~( ??? )~~
>>
>
>
>
More information about the NANOG
mailing list