Cnames and "virtual name based hosting"

fih frhak at hotmail.com
Wed Apr 7 10:08:14 UTC 2004


No i was thinking exactly what i was writing. I have been having this
discussion regarding wheter it's more correct to use many A-records pointing
to the same IP or have one A-record and many Cnames pointing at it. I was
before convinced that one A-record and many Cnames are most correct but many
people say that it's bad to use Cnames because resolvers needs to do two
lookups and also using Cnames and "virtual name based hosting" togeather
would be illegal???

I got the hint to read RFC 2181 section 10 and after that my world is a
mess.

Br
fih


"Stephane Bortzmeyer" <bortzmeyer at nic.fr> skrev i meddelandet
news:c50huu$37n$1 at sf1.isc.org...
> On Wed, Apr 07, 2004 at 09:09:57AM +0000,
>  fih <frhak at hotmail.com> wrote
>  a message of 20 lines which said:
>
> > I have heard rumors that it would be illegeal and bad to use Cnames
> > to point out websites at webhotels using "virtual name based
> > hosting".
>
> B...s
>
> > Like this:
>
> It is perfectly OK.
>
> May be you were thinking of something else:
>
> unixbox.domain.com. IN A 1.1.1.1
> www-hosting.domain.com. IN CNAME unixbox.domain.com.
> www.customer1.com. IN CNAME www-hosting.domain.com.
> www.customer2.com. IN CNAME www-hosting.domain.com.
> www.customer3.com. IN VNAME www-hosting.domain.com.
>
> This would be very convenient but probably illegal (RFC 1034 "Domain
> names in RRs which point at another name should always point at the
> primary name and not the alias. ")
>



More information about the bind-users mailing list