Round robin on CNAME
phn at icke-reklam.ipsec.nu
phn at icke-reklam.ipsec.nu
Wed Mar 27 18:30:40 UTC 2002
Someone <please at nospam.net> wrote:
> Hello,
> I would like to know if it's possible to do round robin based on
> multiple CNAME entries, like that for example: ?
You cannot legally do this. It's an error to have several
CNAMES for the same lhand.
> www1
> IN A X.X.X.X
> www2
> IN A X.X.X.X
> www
> IN CNAME www1
> www
> IN CNAME www2
> Because my BIND v9 is complaining:
> Mar 27 09:41:02 hostname named[22042]: dns_master_load:
> master/filename:12: multiple RRs of singleton type
> Or else how can I achieve this ? Because I would like to do round-robin
> between 2 web servers but still have valid names to access and
> differentiate them like www1 and www2.
You will have to use A records ( or make the transition to SRV records that
will actually do what you want )
> Thanks for your comments
> Regards
--
Peter Håkanson
IPSec Sverige (At the Riverside of Gothenburg, home of Volvo)
Sorry about my e-mail address, but i'm trying to keep spam out.
Remove "icke-reklam" and it works.
More information about the bind-users
mailing list