Q & A on DNS And Load Balancing

Q: I am writing about Domain Name System resolution. Why does the DNS return different addresses for www.yahoo.com? Is this for load balancing?

A: Yes, many sites modify DNS to implement a form of load-balancing among web servers.

Q: ow does this work?

A: The site maintains N computers, each of which runs a copy of the server. The addresses of all N computers are stored in the site's domain server under one name. The server merely hands them out round-robin. Thus, the first user to access the site obtains the address of the first computer, the second user obtains the address of the second computer, and so on.