Simple question about zone and CNAME

Thomas Manson dev.mansonthomas at gmail.com
Fri Apr 5 09:32:28 UTC 2013


Ok thanks for this confirmation.

I already build my zone file from a Database with a php-cgi script, what's
painful is handling the changes for domains I don't manage directly ;)

Thanks for your quick feedback !

Regards,
Thomas.


On Fri, Apr 5, 2013 at 11:25 AM, Howard Wilkinson <howard at orb-it.net> wrote:

> The DNS standards preclude you from doing this. What you are trying to do
> is alias a zone. This cannot happen as a zone must have an SOA record and
> at least one valid NS record. The DNS standard states that where a name has
> a an alias i.e. a CNAME record "no other record of any type may exist for
> that name"
>
> SO you will have to add an A record to achieve the same effect.
>
> On Apr 5, 2013, at 10:13 AM, Thomas Manson wrote:
>
> Hi,
>
>  I'd like use CNAME record on my zone.
>
>  I'm able to have this config:
>
> for http://www.mysite.com
>
> www IN CNAME  somehost.com
>
> but I can't do
>
> for http://mysite.com
> @  IN CNAME somehost.com
>
> How can I achive this configuration ?
> Is there another way to specify the address of http://mysite.com ?
>
> I would like to avoid pointing on an IP adress directly as I'm managing a
> few hundred of domain and among them, I don't manage some domain of some
> client, which is then very painful and time consuming to make them do some
> change.
>
> Regards,
> Thomas.
>
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to
> unsubscribe from this list
>
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20130405/569d670b/attachment.html>


More information about the bind-users mailing list