netlify-ddns 0.2.1

A simple CLI tool for setting Netlify DNS records dynamically.
Documentation

netlify-ddns

Travis-CI Crates.io License

netlify-ddns is a simple command line tool for creating a DNS record for Netlify's Managed DNS service. It is meant to be run as a cron job and queries a third-party for your public IP, then updates or adds a DNS record using the Netlify API.

Installation

Install using cargo:

cargo install netlify-ddns

Usage

netlify-ddns 0.2.1
A simple CLI tool for setting Netlify DNS records dynamically.

USAGE:
    netlify-ddns [OPTIONS] --domain <domain> --token <token>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -d, --domain <domain>          The full domain for the DNS record
    -i, --ip-type <ip-type>        Whether an IPv6 'AAAA' record should be updated [default: ipv4]  [possible
                                   values: IPV4, IPV6]
    -s, --subdomain <subdomain>    The subdomain segment for the DNS record [default: www]
    -t, --token <token>            Your Netlify personal access token [env: NETLIFY_TOKEN=]

Related

Check out oscartbeaumont/netlify-dynamic-dns for a similar client written in Go.