Updates your inwx-DNS records with the local IPv6 (and IPv4) address.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
.gitignore
Gemfile
Gemfile.lock
LICENSE
README.md
inwxupdate.config.rb.example
inwxupdate.gemspec

README.md

inwxupdate

Updates your inwx-DNS records with the local IPv6 (or IPv4) address.

How to use it

gem install inwxupdate

Create a config file (see this repo for example) and place it in one of the following places:

/etc/inwxupdate.config.rb
/usr/local/etc/inwxupdate.config.rb
~/inwxupdate.config.rb
./inwxupdate.config.rb

Then run:

inwxupdate

Bonus level: Setup a cron-job who does it regularly.

# Example Crontab
SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
# Order of crontab fields
# minute        hour    mday    month   wday    command
*/5             *       *       *       *       inwxupdate > ~/inwxupdate.hasrun