Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th March 2013, 08:56
FSNTiger FSNTiger is offline
Junior Member
 
Join Date: Sep 2011
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default ISPConfig Remote Framework Update DNS Records

I want to create a script that's runs on a remote server 'B' and checks to see if server 'A' is running. If server be is detected to be down past a threshold (say 5 min) then change the DNS records in server 'B' to point the website to itself. It would also need to handle the reverse when site 'A' comes online again.

Both servers would be running ISPconfig 3, preferably in a mirror setup. The changes would be made only to the remote server and changed back when the servers come back online. It needs to do this for each website on server 'A', which could be 1 or many.

Is this even plausible, or is there a better way to handle this?

Server 'A' hosts real site. DNS records for real site.
Server 'B' hosts 'down for maintenance' site. DNS for real site when online, DNS for self when offline.

I am just lost as to how to handle this.
Reply With Quote
Sponsored Links
  #2  
Old 26th March 2013, 09:02
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,457
Thanks: 813
Thanked 5,223 Times in 4,093 Posts
 
Default

If you cant switch the IP address between the servers, then changing of the dns record is an option. You should ensure to use a very small ttl for these dns records.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Version 1.3 of the ISPConfig 3 Manual is finally available! falko General 44 2nd December 2011 12:04
Control Panel - E-mail Tab is empty domi-nik General 15 14th April 2011 18:17
ISPConfig 3 DNS Zone Records onastvar General 5 12th May 2010 21:53
Vhosts...conf not synced to changes crypted General 50 24th April 2010 00:54
MX and DNS records xtine Server Operation 18 20th June 2008 13:41


All times are GMT +2. The time now is 19:10.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.