This repository has been archived by the owner. It is now read-only.
Linode Dynamic DNS Updater
Switch branches/tags
Nothing to show
Clone or download
Latest commit 4c900e2 Apr 8, 2015
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md Add DEPRECATED warning Apr 8, 2015
linode_dynamic_dns.rb Updated the path for .linoderc Sep 6, 2011

README.md

WARNING: DEPRECATED

I don't use this anymore, and don't plan on maintaining it. Please use at your own risk.

Linode Dynamic DNS Update - github.com/aw

Usage:

    1. Install the linode gem: sudo gem install linode
    1. Make sure you create a DNS entry with an A record pointing to your IP.
    1. Add this script to your crontab (runs every 10 minutes):

Crontab entry

*/10 * * * * bash -c 'source $HOME/.bash_profile && /usr/bin/ruby /opt/linode_dynamic_dns.rb'

Config file (/opt/.linoderc)

The config file ensures you're not constantly hitting Linode with DNS updates.

dynamic_host: macbook
dynamic_domain: yourdomain.com
api_key: your-linode-api-key

Make sure you change permissions of /opt/.linoderc to 600

Notes:

  • If you ever delete/recreate the A record in your DNS, you'll need to change
  • or remove 'dynamic_host_resource_id' from your .linoderc config file