After the shock of Zerigo's price 'updates' I have now migrated all my DNS hosting over to Amazon's Route 53 service. Its still slightly more expensive that I use to pay but I am not out of pocket due to a nice lump of amazon credit I picked up at last years TNW Hack Battle.

So far I have found Route 53 incredibly easy to setup and use. However the one feature that was missing was the ability to dynamically update one of my domains to my home IP. Most of the time my IP stays unchanged but occasionally BT will change my IP several times in one day.

A did a bit of searching and eventually found Dynroute by Alexandru Vladutu. This has turned out to be an absolute godsend! Dynroute is written in NodeJS and can be installed easily using npm:

Terminal

$
npm install -g dynroute

Now keeping my home domain up to date is as simple as setting up the following command as a cron (You can run it as a daemon but I prefer cron):

Terminal

$
/usr/bin/dynroute -d mydomain.com --once

This is surprisingly simple to do and after the stratospheric price rises Zerigo recently announced its also common sense.

First up I grabbed a copy of David Chau's modified migration script from his blog http://dchua.com/2013/08/18/migrate-all-dns-zones-from-zerigo-over-to-aws-route-53/. (Original credit to Thewebfellas)

For sanitys sake I've forked the gist and posted it at the bottom of the page.

The script uses the zerigo_dns gem, however the current version of the gem's Gemspec is incorrect and installs active record 4 rather than 3.2.0 which is required. Therefore you will want to checkout Joaomsa's fix-gemspec-deps branch and compile the gem from source, this is modified version of zerigo_dns that has the correct Gemspec.

Terminal

$
$
$
$
$
git clone https://github.com/joaomsa/zerigo_dnscd zerigo_dnsgit checkout -b fix-gemspec-deps origin/fix-gemspec-depsgem build zerigo_dns.gemspecgem install ./zerigo_dns-1.5.6.gem

If you havent already, clone the script, add your zerigo and amazon credentials and install the route53 gem.

Terminal

$
 
$
$
$
 
$
gem install route53
git clone https://gist.github.com/8531391.git ./zerigo_migrationcd zerigo_migrationvi zerigo_to_aws_route53.rb
ruby zerigo_to_aws_route53.rb

Zerigo Migration Script:

After having to restart my dedicated server a few times I realised that while the VM would come back online automatically I was getting bored of having to log into the server to startup my Jekyll blog.

To achieve this I created an upstart script for Jekyll.

To use the script simply create the file jekyll.conf in /etc/init and then replace the env variables with your own jekyll site information, then try starting jekyll using your new upstart script!

Terminal

$
 
start jekylljekyll start/running, process 1234

So im pissed off... I just got home from spending Christmas with my family. During the break I had been checking emails by phone but not on a PC, by sheer chance after returning home I loaded up my computer and the last thing I had looked at was my junk email folder. I have a quick skim and as im about to empty it I see the word 'Zerigo' followed by 'Change of Plan Notice'.

I quickly open it up expecting a minor terms update etc etc as its usual for services to have to email for even the most minor changes to a service contract.

Instead I find that they have automatically moved me from a $19/yr account to a $38/mon account, ofcource the good news is they have 'discounted' it for me too..... $25/mon. I mean wth, thats a massive price increase and they didnt even try to ask for my consent to change or cancel, instead my pre-paid amount will be aplied pro-rata to the new cost, which by my guess is about the middle of this month.

As far as Im concerned when I paid I was buying a year of service, even if they are changing the price, I have already bought my year. They can charge me the new price when I come to renew. Instead I've got less than 14days if I'm lucky to find and migrate to a new DNS service.

This is akin to nominet deciding that they want to change more and increasing the price of domains from £2.50 a year to £50 a year. And then only notifying registrants by email before starting to take money from their banks.

I read through zerigos terms of service and it does indeed give them the right to cancel an account at any time for any reason, but nowhere do they give themselves the right to add a new service to an account and automatically charge for it!

To setup Proxmox with a pfSense firewall you will need to at least 1 Additional IP. This is used to run both the pfSense VM and any VM's hidden behind.