Re: CNAME record for the root of the domain

2011-10-17 Thread Chris Thompson

On Oct 16 2011, Kevin Oberman wrote:


2011/10/16 Niccolò Belli darkba...@linuxsystems.it:

I'm sorry but I still didn't understand if it's possible to do it with some
workaround, and if yes HOW to do it.


No, you can' have a CNAME at the top of a zone. A zone requires an SOA
and CNAMEs cannot co-exist with ANY other record.

Depending on exactly what you are trying to accomplish, you might get there by:
1. A DNAME in the parent. This aliases the entire domain, so this
might or might not do what you want.


DNAMEs do not redirect their own name, so neither a DNAME at the zone
apex (which is legal) nor one in the parent would have the effect of
a CNAME at the apex.

A *CNAME* in the parent would, but only as long as you didn't mind
losing all the rest of the zone.


2. Use a A (and other records as needed) instead of a CNAME.


This is, of course, the usual solution.

--
Chris Thompson
Email: c...@cam.ac.uk
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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


Re: CNAME record for the root of the domain

2011-10-17 Thread Niccolò Belli

Il 17/10/2011 17:09, Matt Rowley ha scritto:

but if you're ok with all of the records in the zone being identical, you could 
point both zones to the same file in your named.conf


If I am the one who host the name server for example.com :)
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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


Re: CNAME record for the root of the domain

2011-10-16 Thread Niccolò Belli
I'm sorry but I still didn't understand if it's possible to do it with 
some workaround, and if yes HOW to do it.


Thanks,
Niccolò
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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


Re: CNAME record for the root of the domain

2011-10-16 Thread Kevin Oberman
2011/10/16 Niccolò Belli darkba...@linuxsystems.it:
 I'm sorry but I still didn't understand if it's possible to do it with some
 workaround, and if yes HOW to do it.

No, you can' have a CNAME at the top of a zone. A zone requires an SOA
and CNAMEs cannot co-exist with ANY other record.

Depending on exactly what you are trying to accomplish, you might get there by:
1. A DNAME in the parent. This aliases the entire domain, so this
might or might not do what you want.
2. Use a A (and other records as needed) instead of a CNAME.
-- 
R. Kevin Oberman, Network Engineer
E-mail: kob6...@gmail.com
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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


CNAME record for the root of the domain

2011-10-12 Thread Niccolò Belli

How to set it?
I know there is a workaround, but I hadn't been able to make it work...
I use bind 9.7.3.

Thanks,
Niccolò
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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


Re: CNAME record for the root of the domain

2011-10-12 Thread Rick Dicaire
2011/10/12 Niccolò Belli darkba...@linuxsystems.it:
 How to set it?
 I know there is a workaround, but I hadn't been able to make it work...

What have you tried so far?


-- 
aRDy Music and Rick Dicaire present:
http://www.ardynet.com
http://www.ardynet.com:9000/ardymusic.ogg.m3u
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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


Re: CNAME record for the root of the domain

2011-10-12 Thread Paul Wouters

On Wed, 12 Oct 2011, Niccolò Belli wrote:


Subject: CNAME record for the root of the domain

How to set it?
I know there is a workaround, but I hadn't been able to make it work...
I use bind 9.7.3.


Perhaps you mean DNAME?

http://www.ietf.org/rfc/rfc2672.txt

http://www.informit.com/articles/article.aspx?p=19798

Paul
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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


Re: CNAME record for the root of the domain

2011-10-12 Thread H. Peter Anvin
On 10/12/2011 09:20 AM, Paul Wouters wrote:
 On Wed, 12 Oct 2011, Niccolò Belli wrote:
 
 Subject: CNAME record for the root of the domain

 How to set it?
 I know there is a workaround, but I hadn't been able to make it work...
 I use bind 9.7.3.
 
 Perhaps you mean DNAME?
 

How widely are DNAMEs supported?

-hpa

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.

___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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

Re: CNAME record for the root of the domain

2011-10-12 Thread Niccolò Belli

Il 12/10/2011 18:18, Rick Dicaire ha scritto:

What have you tried so far?


@  IN  CNAME   linuxsystems.it.
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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


Re: CNAME record for the root of the domain

2011-10-12 Thread Jan-Piet Mens
 What have you tried so far?
 @  IN  CNAME   linuxsystems.it.

No CNAME and other data [1]. You have an SOA and NS at the apex, so a
CNAME isn't allowed.

-JP

[1] Until you start with DNSSEC :)
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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