Assuming the simple scenario of an Intranet with lot of users, there will be a DNS Server which translates IP address for the end user system. Now you also have a yourapp.intranet
that is deployed over Apache for load balancing.
How will the load balancing work if each client maitains a dns cache like Windows does? The first request will get a "load-balanced" response but the next request onwards its going to go directly bypassing the Apache? Also would Apapche be able to track all these requests if the users directly hit the Node since it already knows the IP?
C1-----*-----S1
|
DNS
|
C2-----*-----S1
Or is it like DNS only knows the IP of the Apache server, and the load balancing is at the level of Apache? So as far as the DNS is concerned it doesn't know the nodes at all. Which also means it kind of NATing that happens internally?
C1----* S1
| |
DNS-----*
| |
C2----* S2