Setting up Round Robin for web servers.

  • Thread starter Thread starter Joe M
  • Start date Start date
J

Joe M

From what I understand is that to setup Round Robin for my web servers. All
I have to do is enter multiple (A) records and Ip addresses for web servers.

eg.
mercury A 192.168.100.3
joe A 192.168.100.2
james A 192.168.100.1

www CName mercury.mydomain.com
www CName james.mydomain.com
www CName joe.mydomain.com

All I need are these entries for round robin to work, correct? If not,
please fill in the gaps. Thanks.
 
I would also turn on round-robin in the advanced tab and turn off netmask
ordering.
 
In
William Stacey said:
I would also turn on round-robin in the advanced tab and turn off
netmask ordering.


I would also like add, if using host headers, the CNAMES will kill that
functionality and would have to go with A records pointing to the IPs, such
as:

Just one of the reasons that I don't like using CNAMES....


--
Regards,
Ace

Please direct all replies to the newsgroup so all can benefit.
This posting is provided "AS IS" with no warranties.

Ace Fekay, MCSE 2000, MCSE+I, MCSA, MCT, MVP
Microsoft Windows MVP - Active Directory
 
Hi William,
I think round robin only works if the computer has the same
DNS name
eg.
mercury A 192.168.100.3
mercury A 192.168.100.2
mercury A 192.168.100.1
www CName mercury.mydomain.com

I tried setting up my previous assumption and everytime I press refresh(F5),
the two new www alias disappeared. Leaving only the original www record,
unless I am missing something.
So that would mean to have round robins for web servers then all three web
servers must have the same name. eg. mercury.mydomain.com.
Is it correct?? Thanks.
 
In
Joe M said:
Hi William,
I think round robin only works if the computer has
the same DNS name
eg.
mercury A 192.168.100.3
mercury A 192.168.100.2
mercury A 192.168.100.1
www CName mercury.mydomain.com

I tried setting up my previous assumption and everytime I press
refresh(F5), the two new www alias disappeared. Leaving only the
original www record, unless I am missing something.
So that would mean to have round robins for web servers then all
three web servers must have the same name. eg. mercury.mydomain.com.
Is it correct?? Thanks.


Progbably because they are CNAMES...
Try the A record method I mentioned and let us know how it works out.

--
Regards,
Ace

Please direct all replies to the newsgroup so all can benefit.
This posting is provided "AS IS" with no warranties.

Ace Fekay, MCSE 2000, MCSE+I, MCSA, MCT, MVP
Microsoft Windows MVP - Active Directory
 
To elimate any local caching, use dig or nslookup to make the queries to see
if the records are being returned in different order.
 
Thanks Ace, entering www as A records does DNS resolve names better. Why the
heck is CNAME record type use then, what for when A record host works much
better??
William, what's the correct nslookup syntax to use to test out
www.mydomain.com queries??
eg. nslookup: ls www.mydomain.com ???
Where do I find [dig] executable??
 
In
Joe M said:
Thanks Ace, entering www as A records does DNS resolve names better.
Why the heck is CNAME record type use then, what for when A record
host works much better??
William, what's the correct nslookup syntax to use to test out
www.mydomain.com queries??
eg. nslookup: ls www.mydomain.com ???
Where do I find [dig] executable??

Joe, CNAMES are used to reference one FQDN to point to another. They can
cause confusion, do not follow MX records RFC recommendations, and cause
issues with web services if using host headers. I try to stay away from
them. Not saying they are wrong to use, matter of fact Microsoft uses one
for the www.microsoft.com site which points to www.microsoft.akadns.net. As
long as the host header is www.microsoft.akadns.net, then it will work. I
figured you had your host header based on your A records, so I went with
that, otherwise you would needed to reconfigure your sites, unless there's
just that one site on the machine. It was a WAG.

nslookup
set type=all
domain.com

or try www.domain.com

try those two and see what order they pop up in the results.

Dig is part of the ISC BIND DNS server installation. Just download BIND 9.2
from www.isc.net and extract it without setting up the services. Then go to
that folder and you can use it.

dig @yourDNSipAddress yourdomain.com any

But William is better with DIG than I am, so he may suggest a different
query.

Cheers!

--
Regards,
Ace

Please direct all replies to the newsgroup so all can benefit.
This posting is provided "AS IS" with no warranties.

Ace Fekay, MCSE 2000, MCSE+I, MCSA, MCT, MVP
Microsoft Windows MVP - Active Directory
 
Back
Top