Solved

MS DNS Round Robin:  sessions & alternating requests

Posted on 2007-03-29
1
253 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
1 Comment
 
LVL 70

Accepted Solution

by:
Chris Dent earned 250 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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Rate limit for DNS queries 7 83
SPF record. 2 30
Active Directory DNS causes issue with external third-party website? 4 37
BIND9 - DNS redirect? 4 21
I will assume you are running a non-server version of some sort of Windows throughout this article. There are many flavors of Windows since Windows Server 2000 - 2008, XP Home & Pro, Vista Home & Pro, and Windows 7 Starter, Home, Pro, Ultimate, etc.…
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 an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

790 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