LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-10-2006, 01:23 PM   #1
msound
Member
 
Registered: Jun 2003
Location: SoCal
Distribution: CentOS
Posts: 465

Rep: Reputation: 30
Dynamic DNS Question


I have 3 web/mail servers running in 3 different locations with 3 different wan ips (go figure). Right now the primary is setup as www.mydomain.com, then theres www2 and www3. www2 and www3 are just offsite mirrored backups of www, I have no use for a www2 or www3. They just sit there in the even that our primary server goes down. What I'd like to do is setup some sort of dynamic dns system that repeatedly pings my primary server. If the server doesn't respond, then I'd like the DNS info to change from my primary server's wan ip, to www2's wan ip. Then as soon as the primary server comes back online the DNS info automatically gets reset to it's wan ip.

First of all I'd like to know if this was possible, and if so, how I could go about setting this sort "auto dns failover" up. Thanks!
 
Old 04-10-2006, 04:03 PM   #2
chrisortiz
Member
 
Registered: Nov 2005
Distribution: Slackware, and of course the super delux uber knoppix universal live recovery cd
Posts: 429

Rep: Reputation: 30
what you want to do is possible, in fact its very common.
type "dig yahoo.com" you want to set up something like that, correct?
I've never done this before either, but you should be able to just add another host entry into your dns server with the same domain name, only a different address. If i'm wrong someone please correct me.
 
Old 04-10-2006, 04:10 PM   #3
msound
Member
 
Registered: Jun 2003
Location: SoCal
Distribution: CentOS
Posts: 465

Original Poster
Rep: Reputation: 30
I also think it'd be cool to setup an auto failover cluster. That would probably also give me the same result. As soon as the primary server goes offline the secondary machine would begin to receive all requests automatically.

Edit: I understand the concept of all of this but I'd really like to be pointed in the direction of how to do it. Thanks again!
 
  


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
dynamic ip and DNS how to dasbooter Linux - Networking 11 04-24-2006 03:44 PM
Regarding Dynamic DNS hinetvenkat Linux - Networking 2 08-10-2005 11:46 PM
question about linksys wrt55ag and dynamic dns dml Linux - Networking 0 09-24-2004 11:30 AM
dynamic DNS linowes Linux - Networking 8 02-21-2003 03:16 AM
DNS question with a dynamic IP Ryan_Sutton Linux - Networking 6 07-12-2002 08:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:34 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