Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Plugins/Modules/Addons

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 22nd May 2012, 08:10
croemmich croemmich is offline
Junior Member
 
Join Date: Jan 2009
Posts: 5
Thanks: 0
Thanked 4 Times in 2 Posts
Default Redundant DNS with Linode API (plugin)

I just finished writing a plugin for ISPConfig 3 that manages Linode slave DNS entries when SOAs are created, updated, or deleted. I thought it might be useful for someone out there, so here it is!

Who is it for?
Anyone with a Linode account. Likely more specifically, anyone with a single ISPConfig server running on a Linode VPS.

What's it do?
In a normal single server ISPConfig setup there is a single point of failure for DNS services. To solve this problem, the plugin creates slave zones on Linode's DNS servers using the Linode DNS API. The slave zones replicate the ISPConfig server's zone and respond to requests if the master is down.

You can grab the plugin here:
https://github.com/croemmich/ispconfig-extras
Reply With Quote
The Following 2 Users Say Thank You to croemmich For This Useful Post:
cfoe (23rd May 2012), till (22nd May 2012)
Sponsored Links
  #2  
Old 23rd May 2012, 12:32
cfoe cfoe is offline
ISPConfig Developer
 
Join Date: Oct 2011
Location: NRW, Germany
Posts: 233
Thanks: 27
Thanked 57 Times in 32 Posts
Send a message via Skype™ to cfoe
Default

How about some installation guide or deployment via a repository?
__________________
Christian Foellmann

OpenSource-Projects - GitHub-Projects - SVN-Mirrors on GitHub - Foe Services
Reply With Quote
  #3  
Old 23rd May 2012, 23:25
croemmich croemmich is offline
Junior Member
 
Join Date: Jan 2009
Posts: 5
Thanks: 0
Thanked 4 Times in 2 Posts
Default

Installation info is contained in the plugin file. I'll maybe set up a repo at some point. Not that useful for me really, as I only have one server, but I'll think about it.

Last edited by croemmich; 23rd May 2012 at 23:27.
Reply With Quote
  #4  
Old 23rd May 2012, 23:46
cfoe cfoe is offline
ISPConfig Developer
 
Join Date: Oct 2011
Location: NRW, Germany
Posts: 233
Thanks: 27
Thanked 57 Times in 32 Posts
Send a message via Skype™ to cfoe
Default

I could host your files in my repo or you send the finished install field to Till for the official repo
__________________
Christian Foellmann

OpenSource-Projects - GitHub-Projects - SVN-Mirrors on GitHub - Foe Services
Reply With Quote
  #5  
Old 1st July 2012, 14:18
cfoe cfoe is offline
ISPConfig Developer
 
Join Date: Oct 2011
Location: NRW, Germany
Posts: 233
Thanks: 27
Thanked 57 Times in 32 Posts
Send a message via Skype™ to cfoe
Default

Hey Chris,

lets get the repo package going.
Please correct according to your exprience.

1.
# Install dependencies
pear install Net_URL2-0.3.1
pear install HTTP_Request2-0.5.2
pear channel-discover pear.keremdurmus.com
pear install krmdrms/Services_Linode

2.
# copy plugin to ispconfig
cp linode_dns_plugin.inc.php to /usr/local/ispconfig/server/plugins-available/

3.
# maybe https://www.linode.com/api/utility/user.getapikey could be used to automatically generate a key?
# create config.inc.local.php
touch config.inc.local.php

# add API keys
<?php
$conf['linode_api_key'] = ' "API_KEY":"aNW3ydF53LpVftU9s50e0reFEwy0piwGhwaLKAj 4okRZ" ';
$conf['linode_dns'] = true;
?>

4.
#
ln -s /usr/local/ispconfig/server/plugins-available/linode_dns_plugin.inc.php /usr/local/ispconfig/server/plugins-enabled/linode_dns_plugin.inc.php
__________________
Christian Foellmann

OpenSource-Projects - GitHub-Projects - SVN-Mirrors on GitHub - Foe Services
Reply With Quote
  #6  
Old 29th August 2013, 15:30
aneeshnl aneeshnl is offline
Junior Member
 
Join Date: Aug 2012
Posts: 14
Thanks: 2
Thanked 1 Time in 1 Post
 
Default

ISPconfig sends an alert email when updating DNS that the domain already exists.
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
Spamassasin markasjunk2 roundcube plugin HyperAtom General 1 17th November 2012 21:19
Squid Proxy Caching on Linux obzerver Installation/Configuration 4 13th August 2008 20:51
Spamassassin not working hairydog2 General 7 12th July 2008 22:15
Google Apps dayjahone General 19 29th March 2008 18:25
DNS Configuration Problems VMartins Installation/Configuration 10 24th July 2007 15:40


All times are GMT +2. The time now is 02:13.


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