Solved

MS DNS Round Robin:  sessions & alternating requests

Posted on 2007-03-29
1
250 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
Comment Utility

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Most DNS problems are VERY easily troubleshot and identifiable if you can follow the steps a DNS query takes. I would like to share the step-by-step a DNS query takes from the origin to the destination. _____________________________________________…
I've written instructions for one router type, but this principle may be useful for others of the same brand and even other brands of router. Problem: I had an issue especially with mobile devices that refused to use DNS information supplied via…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

763 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now