Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

MS DNS Round Robin:  sessions & alternating requests

Posted on 2007-03-29
1
Medium Priority
?
258 Views
Last Modified: 2010-04-07
A couple of DNS Round Robin questions please:
I am running basic MS DNS round robin which sends requests to one of 2 identical web servers.
I understand that MS DNS server will alternate requests between the multiple IPs for same DNS records.

1. When the DNS server sends a request to box 1, will box 2 ever receive a request from that same session?
In other words, do I need to worry about session variables not persisting during a client's viewing because they have been bounced from box to box?

2. How does MS DNS alternate between boxes exactly? I host about 1500 websites, whos DNS records are identical. So say the DNS server gets a request for website1.com and sends it to box 1 will a request for website2.com be sent to box2? or will the request be sent to box1 and only the next request for website1.com be sent to box2? Is there a preference of box by default?
0
Comment
Question by:juliandormon
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 71

Accepted Solution

by:
Chris Dent earned 1000 total points
ID: 18822127

1. Depends on the clients DNS cache, which, in turn, depends on the TTL (Time To Live) you have set on the record.

The maximum cache time for an XP client is 24 hours, so even if the TTL on your record is higher the client will still ask the local DNS server for an answer again.

I couldn't really say if that means you need to worry about the session or not. It would seem (from the outside) sensible to plan for that contingency, but it does depend very much on what you need to happen, it's possible for the record to expire mid-session.

2.  On a per record basis. So for an individual record it answers DNS requests with Box1, then Box2, then Box1, then Box2 (ad infinitum).

A different record within a different zone will show the same behaviour but  doesn't depend on the answers given for website1.com.

There's no preference in Round Robin.

HTH

Chris
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is intended as an extension of a blog on Aging and Scavenging by the MS Enterprise Networking Team. In brief, Scavenging is used as follows: Each record in a zone which has been dynamically registered with an MS DNS Server will have…
Occasionally you run into the website or two that will not resolve properly using your own DNS servers.  Some people simply set up global forwarders for their DNS server.  I don’t recommend doing this because it can cause problems resolving addresse…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question