github.com/abrander/dozone

Tool for downloading, uploading and syncing DNS zones to Digital Ocean


Keywords
digital-ocean, digitalocean, dns, syncing-dns-zones, zone
License
MIT
Install
go get github.com/abrander/dozone

Documentation

dozone

Tool for downloading, uploading and syncing DNS zones to Digital Ocean.

Usage

Setting the access token (get one here):

$ export DIGITALOCEAN_ACCESS_TOKEN=123456789abcdef123456789abcdef123456789abcdef123456789abcdef1234

Retrieve a zone file for the zone example.com from Digital Ocean:

$ dozone -download example.com > example.com.zone

Synchronize local example.com-zone file to Digital Ocean:

$ dozone example.com.zone

Synchronize local zone without asking:

$ dozone -yes example.com.zone