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:
How about some installation guide or deployment via a repository?
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.
I could host your files in my repo or you send the finished install field to Till for the official repo
lets get the repo package going.
Please correct according to your exprience.
# 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
# copy plugin to ispconfig
cp linode_dns_plugin.inc.php to /usr/local/ispconfig/server/plugins-available/
# maybe https://www.linode.com/api/utility/user.getapikey could be used to automatically generate a key?
# create config.inc.local.php
# add API keys
$conf['linode_api_key'] = ' "API_KEY":"aNW3ydF53LpVftU9s50e0reFEwy0piwGhwaLKAj 4okRZ" ';
$conf['linode_dns'] = true;
ln -s /usr/local/ispconfig/server/plugins-available/linode_dns_plugin.inc.php /usr/local/ispconfig/server/plugins-enabled/linode_dns_plugin.inc.php
ISPconfig sends an alert email when updating DNS that the domain already exists.
|All times are GMT +2. The time now is 21:31.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.