?
Solved

DNS Virtual Hostname or Multihomed?  How to set this up...

Posted on 2009-07-13
5
Medium Priority
?
304 Views
Last Modified: 2012-05-07
I am kinda weak in my DNS experience, I need help setting something pretty simple up.  DNS is running on Win Server 2003.

I need a hostname to use two IP addresses for redundancy.  I have a load balancer application that could benefit from this.  I have two machines, one is a primary server and the other is the backup.  If the primary goes down, I want the backup to respond to the same name.  I know the clients will timeout on the primary when it goes down, but at least after awhile they'll be able to reconnect to the backup if DNS redirects them to the correct IP.  I don't think it matters which server they are using if they are both online, what I need is for one of the two to always be available.

common DNS name: JPLTS0

Primary Server: 172.16.7.175
Backup Server:172.16.7.113

What steps do I need to do in DNS management to make this possible?

Thanks..
0
Comment
Question by:jamietallman
[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
  • 2
5 Comments
 
LVL 71

Expert Comment

by:Chris Dent
ID: 24840113

DNS won't care if your services are up or down.

If you need it to respond with a specific IP depending on service state you need to remove the down address from the DNS system entirely. Typically this means having something monitor the service, then make changes in DNS if the service state changes.

Chris
0
 
LVL 1

Author Comment

by:jamietallman
ID: 24840856
I wondered how DNS would figure this out.  I guess it won't.  Do you recommend a way to monitor DNS service?
0
 
LVL 71

Expert Comment

by:Chris Dent
ID: 24840870

It's the application you need to monitor rather than DNS. Do you have any monitoring software in place at the moment? If something can tell when the service breaks it may be possible to have that fire off a script and make changes in DNS.

Chris
0
 
LVL 1

Author Comment

by:jamietallman
ID: 24840888
So i could monitor it with pings to see if the machine is down, then if it is, programmatically change the DNS entry to the backup IP address or vice versa.

I was really hoping to not have to do something custom like that, but I suppose I could.  
0
 
LVL 71

Accepted Solution

by:
Chris Dent earned 500 total points
ID: 24840935

Yep, that would do.

Your choices for changing the record are likely to be DNSCMD or WMI. WMI is more flexible, but a bit more effort than DNSCMD. For DNSCMD you would be removing the record and adding a new one (or just removing depending on the situation).

Chris
0

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

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…
I wrote this article to explain some important DNS concepts that should be known to avoid some typical configuration errors I often see in forums. I assume that what is described here is the typical behavior of Microsoft DNS client. I don't know …
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
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…
Suggested Courses
Course of the Month11 days, 22 hours left to enroll

752 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