Skip to content

nobert/dnsimple-updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dnsimple-updater

This script enables one to update a dnsimple as a dynamic DNS provider. It compares the current external IP address, via icanhazip, to what the dnsimple primary DNS server says, and if they differ, it updates the A record.

The config.yml file should contain the following information:

Configuration

variable name value
token account token
account_id account id
zone domain name, e.g. example.com
hostname full hostname (fqdn), e.g. host.example.com
record_id record id for hostname

Usage

The obvious prerequisites are ruby and bundler. Just run bundle install.

Run the script update.rb in a scheduler, e.g. cron, as often as you'd like. I figure 5 minutes is fine.

About

super hacky dnsimple updater for dynamic ips

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages