Re: Creating a CNAME to another domain.

2009-07-29 Thread Kevin Darcy

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 INCNAME 
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



___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Creating a CNAME to another domain.

2009-07-28 Thread Ezra Taylor
Hello All:
   How can I create a CNAME that points to another domain.
Example below.  Is the below example possible?



stars.mydomain.com INCNAME  stars.otherdomain.com.

-- 
Ezra Taylor
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: Creating a CNAME to another domain.

2009-07-28 Thread Kevin Darcy

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 INCNAME  
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.




   - Kevin


___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: Creating a CNAME to another domain.

2009-07-28 Thread Ezra Taylor
Thanks all.

On Fri, Jul 24, 2009 at 2:57 PM, Ezra Taylor ezra.tay...@gmail.com wrote:

 Hello All:
How can I create a CNAME that points to another domain.
 Example below.  Is the below example possible?



 stars.mydomain.com INCNAME  stars.otherdomain.com.

 --
 Ezra Taylor




-- 
Ezra Taylor
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: Creating a CNAME to another domain.

2009-07-28 Thread Danny Mayer
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 INCNAME 
 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.

___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users