Solved

Setting Priority on MS Windows 2003 DNS

Posted on 2011-03-02
3
841 Views
Last Modified: 2012-05-11
Hello,

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 ?


 
0
Comment
Question by:Ism
[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
3 Comments
 
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 => 192.168.1.10 and www.yourdomain.com => 192.168.15.60).  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.
0
 
LVL 39

Expert Comment

by:Krzysztof Pytko
ID: 35024725
Please check this EE post I helped with
http://www.experts-exchange.com/Networking/Protocols/DNS/Q_26852882.html

Follow this idea and it would work fine.

Regards,
Krzysztof
0
 
LVL 71

Accepted Solution

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

Chris
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Determining the an SCCM package name from the Package ID
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

728 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