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 A simple CLI tool for setting Netlify DNS records.

USAGE: netlify-ddns [FLAGS] [OPTIONS] --domain

FLAGS: -h, --help Prints help information --ipv6 Whether an IPv6 'AAAA' record should be updated -V, --version Prints version information

OPTIONS: -d, --domain The full domain for the DNS record -s, --subdomain The subdomain segment for the DNS record [default: www] -t, --token Your Netlify personal access token [env: NETLIFY_TOKEN=] ```

Related

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