jamestthompson3 / tiny-ddns

Very tiny program for updating A records on digital ocean.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DDNS

Tiny library for updating DNS records on digital ocean.

Usage

ddns does only one thing, update a domain's root A record inside of DigitalOcean with the public IP address of the machine upon which it runs:

ddns -domain <domain>

The only argument it takes is the domain which you want to modify. The domain must exist inside your DigitalOcean dashboard, or else the API requests will fail. You also must have the nameservers in your domain registrar pointing to DigitalOcean.

Your DigitalOcean API key must be exported as an environment variable:

export DIGITALOCEAN_TOKEN='<your-token-here>' ddns -domain <domain>

About

Very tiny program for updating A records on digital ocean.


Languages

Language:Go 100.0%