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.
Thread Tools Display Modes
Old 26th March 2013, 09:56
FSNTiger FSNTiger is offline
Junior Member
Join Date: Sep 2011
Posts: 27
Thanks: 0
Thanked 4 Times in 3 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
Old 26th March 2013, 10:02
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,986
Thanks: 840
Thanked 5,647 Times in 4,457 Posts

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


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 13:04
Control Panel - E-mail Tab is empty domi-nik General 15 14th April 2011 19:17
ISPConfig 3 DNS Zone Records onastvar General 5 12th May 2010 22:53
Vhosts...conf not synced to changes crypted General 50 24th April 2010 01:54
MX and DNS records xtine Server Operation 18 20th June 2008 14:41

All times are GMT +2. The time now is 06:22.

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