tmthrgd / ddns

A dynamic DNS tool for Cloudflare domains.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A dynamic DNS tool for Cloudflare domains.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Go 100.0%