Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2009-07-13
5
Medium Priority
?
306 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

Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

If you have a multi-homed DNS setup in windows, you can have issues with connectivity to the server that hosts the DNS services (or even member servers of your domain if this same DNS server is a DC). This is because windows registers all of its IPs…
Resolve DNS query failed errors for Exchange
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

636 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