Round robin on CNAME

Barry Margolin barmar at genuity.net
Wed Mar 27 15:39:37 UTC 2002


In article <a7somv$hhn at pub3.rc.vix.com>, 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: ?

No.

>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

"RRS of singleton type" means you're only allowed to have one record of
that type (CNAME) for a particular name.

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

www1 IN A X.X.X.X

www2 IN A Y.Y.Y.Y

www  IN A X.X.X.X
     IN A Y.Y.Y.Y

-- 
Barry Margolin, barmar at genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


More information about the bind-users mailing list