Setting Priority on MS Windows 2003 DNS

Posted on 2011-03-02
Medium Priority
Last Modified: 2012-05-11

I have a DC with DNS setup on a couple of my branches. I would like to know if it is possible to accomplish priority based name resolution.

I have right now a local web page set up using IIS that employees use on a daily basis. I would like to add mirror of that web page on a different site just in case of disaster.

What I would like to know is that can I accomplish DNS priority in this scenario ?

Question by:Ism
LVL 33

Expert Comment

by:Todd Gerbert
ID: 35024551
No priority based resolution with Microsoft's DNS server (you might be able to find that functionality in another vendors DNS services, but that's probably not worth the hassle in an Active Directory environment).

You do have a couple options...

Manually update the DNS records in the event of a failure. (I bet you could find a utility or script to automate this, but I don't know of any off the top of my head).

Put two host records in DNS with the same name, and different IP addresses (e.g. www.yourdomain.com => and www.yourdomain.com =>  No guarantee which address will be used for any given query though, so may not be an option if you're running anything more than plain HTML files, like an interactive web application.

The third thing that comes to mind is something I've thought of, but haven't tested yet.  In a properly setup Active Directory with a DC at each Site, yourdomain.local (or whatever your AD domain name is) should always resolve to the nearest domain controller. Though you still might run into issues with multiple copies of the web site running simultaneously, and it's generally considered a security no-no to run web sites on domain controllers.
LVL 39

Expert Comment

by:Krzysztof Pytko
ID: 35024725
Please check this EE post I helped with

Follow this idea and it would work fine.

LVL 71

Accepted Solution

Chris Dent earned 2000 total points
ID: 35028145

Manual / scripted / programmatic change-over is the way to go, DNS is not service-aware, if you web site fails it'll happily carry on handing out the IP for the failed server.

NetMask Ordering, doesn't help because it doesn't care about the state of your web service either.


Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

There are a few different ways to preview your site before DNS resolves it to your (mt) Media Temple server.  The Plesk platform makes it easy.  See the following guide to learn how.
One thing I've always found frustrating is no matter how many times one asks the end users to not save things on their local machines, they do it anyway.  Forget that we don't back up the desktops - only the servers.  Well, let's sneak their data on…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

624 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