ddns

command module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

README

DDNS

Simple DDNS for Cloudflare, built using these assumptions:

  • All my DNS is in Cloudflare, no other provider is/will be supported unless I switch
  • I want to use a reliable and well known source for the IP check (in this case Cloudflare)
  • It shouldn't need any other input than the domain and subdomain the record should be updated to

Usage

Make sure the zone has been created in Cloudflare, then run

docker run -d --restart=always --name=ddns ghcr.io/myyra/ddns \
    -token="Your Cloudflare API token here" \
    -recordName="home.example.com" \
    -zoneName="example.com"

If the record for the subdomain doesn't exist yet, it will be created.

If it already exists, it will be updated only if the IP has changed.

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