Creating a CNAME to another domain.
Danny Mayer
mayer at gis.net
Wed Jul 29 03:38:34 UTC 2009
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.
Danny
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the bind-users
mailing list