ddns

command module
v0.0.0-...-fdac740 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2023 License: BSD-3-Clause Imports: 13 Imported by: 0

README

ddns

ddns is a dynamic DNS tool for Cloudflare domains. It sets A and AAAA records for a domain to your systems public IP addresses as appropriate.

Installation

Installation is simple and no different to any Go tool. The only requirement is a working Go install.

go get go.tmthrgd.dev/ddns

Usage

Usage is simple with the ddns command taking the domain name to set.

ddns host.example.com

You need to set the CF_API_TOKEN environment variable to a valid Cloudflare API Token with the #zone:read and #dns_records:edit permissions. Unfortunately access must be provided to all zones even those that will not be updated. You can create a new API Token on the API Tokens page of the Cloudflare dashboard. The token should be created with the following permissions:

API Token creation page

License

BSD 3-Clause License

Notes

SeeIP is used to resolve your systems public IPv4 and IPv6 addresses.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL