hyperlink / do-dynamic-dns

Dynamic DNS client for Digital Ocean

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dynamic DNS client for Digital Ocean

Build Status Greenkeeper badge Standard - JavaScript Style Guide

What it does

  1. Get current public IP address
  2. Compares it to subdomain A record
  3. If different update a subdomain A record with current IP address

Install

npm install -g doddns

Create a script to launch it:

#!/bin/bash
export SERVER_NAME=home_server.example.com
export DIGITAL_OCEAN_TOKEN=xxxxxxx
doddns

Throw it in your crontab

About

Dynamic DNS client for Digital Ocean

License:MIT License


Languages

Language:JavaScript 100.0%