LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-28-2012, 04:02 AM   #1
Winanjaya
Member
 
Registered: Sep 2003
Posts: 239

Rep: Reputation: 32
Question DNS failover


Dear All,

at HO I have a DNS servers (172.16.0.31)
and I have a DRC site..

I want to a DNS at DRC site .. all DNS records would be automatically synchronized to HO's DNS.

so If the HO DNS goes down then the DRC site
would take over .. could anybody please advise what should I do?

Please advise and Thanks
 
Old 06-28-2012, 04:08 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well you've two stages here, knowing that something has failed and then separately taking action. Depending on how this is all built, this is often two fundamentally unrelated problems to deal with.

HA DNS is (surprisingly?) hard, things like DNS TTL's make failovers frequently slow for one thing. Can you define what sort of level of environment this is in? Is this a spare box in your mates kitchen, or a multi million dollar data centre?

Last edited by acid_kewpie; 06-28-2012 at 04:10 AM.
 
Old 06-28-2012, 04:18 AM   #3
Winanjaya
Member
 
Registered: Sep 2003
Posts: 239

Original Poster
Rep: Reputation: 32
Thanks, our HO DNS is on the same network ..
HO and DRC site are connected with Leased-Line 100Mbps
HO DNS is on 172.16.0.31
and I want DRC DNS is on 172.16.0.131

Do you have an idea?

Thanks & Regards
Winanjaya
 
Old 06-28-2012, 04:57 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
OK, still far far too little information to really base much on...

your servers on are the same /24 subnet?? Or is this two /25s? This is internal traffic, so presumably this is more than a single IP fail over? What tools do you have at your disposal? are you just looking at adding open source software to any conveniently placed servers, or do you have $50,000 to buy a couple of F5 GTM devices? What ARE these DNS servers?
 
Old 06-28-2012, 06:01 AM   #5
Winanjaya
Member
 
Registered: Sep 2003
Posts: 239

Original Poster
Rep: Reputation: 32
Hi, yes they are on the same subnet /22
and they are Bind Named Server that come with Centos 5.5
and I am looking for Open Source softwsre that can help me to do DNS failover

I need advise

Thanks and Regards
 
Old 06-28-2012, 06:17 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well this article looks useful: http://www.freebsdwiki.net/index.php...over_A_records

this doesn't cover a active / standby scenario though, and a third site from which they are monitoring might not suit your model. You could easily rework the logic though I'm sure.

Hmm... but then... Are you really after using DNS to provide the failover, or are you looking at the failover of the DNS servers themselves? If it IS the latter, which feels increasingly likely, then why do you need to do it at all? what's wrong with a standard master / slave scenario? What do you think will happen from a failover? If they are synchonrized, then just use them both all the time... no?
 
Old 06-28-2012, 06:24 AM   #7
Winanjaya
Member
 
Registered: Sep 2003
Posts: 239

Original Poster
Rep: Reputation: 32
hmmm. . master and slave?? I never try it... can the slave able to do takeover when the master goes down?
do I need to also modify the slave when the master was modified or when new record added?

please advise

Thanks and Regards

Winanjaya
 
Old 06-28-2012, 07:06 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
there is no "takeover", they both just work all the time, the slave being told of any updates by the master. You can also look at a dual master set up if you really want.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Splitting DNS settings to multiple servers to reduce downtime during failover Quartiz.com Linux - Server 1 11-30-2011 03:59 PM
Failover wasamzy Linux - Server 11 09-25-2010 04:56 AM
how to configure Two ISP's DNS in squid for failover sachin151080 Linux - Networking 0 09-04-2010 03:57 AM
Win2k3 DNS + PFsense DNS Forwarder = No internal DNS resolution Panopticon Linux - Networking 1 11-19-2007 09:59 PM
I want to write a DNS Failover script jstrahm Linux - Networking 2 09-27-2005 01:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration