Creating a CNAME to another domain.
Kevin Darcy
kcd at chrysler.com
Wed Jul 29 18:46:45 UTC 2009
Danny Mayer wrote:
> Kevin Darcy wrote:
>
>> Ezra Taylor wrote:
>>
>>> Hello All:
>>> How can I create a CNAME that points to another
>>> domain. Example below. Is the below example possible?
>>>
>>>
>>>
>>> stars.mydomain.com <http://stars.mydomain.com> IN CNAME
>>> stars.otherdomain.com <http://stars.otherdomain.com>.
>>>
>>>
>> If stars.mydomain.com is just an ordinary name in the mydomain.com zone,
>> then there is no problem with what you show above (except,
>> syntactically, you need the trailing dot, as was already pointed out).
>>
>> If, on the other hand, stars.mydomain.com is a *zone*, then it's not
>> possible, because in that case there would be "apex" records (records
>> whose name is the same as that of the zone); at a minimum, an SOA and at
>> least 2 NS records, which are required for each and every zone. When a
>> particular name owns a CNAME record, it cannot also own SOA or NS records.
>>
>
> Not true. For a Domain alias use a DNAME:
>
> mydomain.com. IN DNAME otherdomain.com.
>
Bearing in mind that the OP asked specifically about creation of CNAMEs,
which part is "not true"?
- Kevin
More information about the bind-users
mailing list