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

x
?
Solved

Using a fail safe DNS record

Posted on 2007-11-21
7
Medium Priority
?
1,375 Views
Last Modified: 2012-06-21
Hi

we have an DNS hosts statically set in our forward lookup zone

if the ip address of this server is down, is there a way to use a second IP address as a failsafe?

many thanks
Karl
0
Comment
Question by:shsk
[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
  • 2
7 Comments
 
LVL 7

Expert Comment

by:mcse2007
ID: 20326810
setup a secondary DNS server and make the first DNS as your master.
0
 

Author Comment

by:shsk
ID: 20326870
but the first DNS server is still gong to give a positive response of "yes i have an ip address and it is"

it will not be able to sense the actual link isnt there
0
 
LVL 71

Accepted Solution

by:
Chris Dent earned 2000 total points
ID: 20326908

DNS doesn't do automatic fail-over on Name Records I'm afraid.

The functionality it does have is Round Robin, where it will alternate (or loop through) the responses it gives to a query. It doesn't much care if the server in question is up or down.

To achieve fail-over on this in DNS you would have to manually change the Record to reflect the new IP. However, there are programs around that can do this for you, so it's not necessarily as manual as it seems.

When using that method you should be aware of the TTL (Time To Live) value for a Record. This is a time, in seconds, that a Client or remote DNS Server will remember the answer to the query. The client or server will use that Remembered value until the TTL expires. For fail-over to work in the method described above it is important that the TTL is set to a low value (such as 15 minutes, or 900 seconds).

As for the programs that do this, I've never used one so cannot recommend any specifically, so these are only here as examples and you would have to evaluate each dependant on your requirements:

http://www.extralan.co.uk/products/Diagnostic-Tools/SDNSPlus/SFO.htm
http://www.nettica.com/Failover/Service.aspx

HTH

Chris
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

Author Comment

by:shsk
ID: 20327162
i thought as much

i was thinking of scripting thismyself.

using the win32_pingstatus and dnscmd

thank you!
0
 
LVL 71

Expert Comment

by:Chris Dent
ID: 20327177

You're welcome. I hope you get it all sorted out.

Chris
0
 
LVL 7

Expert Comment

by:mcse2007
ID: 20331731
hey Karl,

microsoft thought otherwise which I share their view about secondary DNS server.

Is this what you want?

if a primary server is unavailable, a secondary server can provide some name resolution in the zone until the primary server is available.

Link:
http://technet2.microsoft.com/windowsserver/en/library/54572f43-7c5f-4600-b8ff-3c91cf0541ed1033.mspx?mfr=true

Sometimes, sticking with the fundamental help us solve our requirement.
 
0
 
LVL 71

Expert Comment

by:Chris Dent
ID: 20333809

Hey mcse2007,

As far as I understood the question it wasn't redundancy on the Name Servers that was needed.

Rather it was fail-over on a Host (A) Record within a zone (something a Web Server would need, for example), which unfortunately cannot be provided within DNS (as an option).

The only elements of fail-over are MX Records, Service Records and NS Records. Each of those is handled by the client or requester, DNS doesn't tailor it's response based on the state of the Service.

To clarify slightly, I should have written this:

> DNS doesn't do automatic fail-over on Name Records I'm afraid.

As:

> DNS doesn't do automatic fail-over on Host Records I'm afraid.

Chris
0

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Question has a verified solution.

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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
This video discusses moving either the default database or any database to a new volume.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

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