Container to run linode-dynamic-dns for "sub.domain.com" and "*.sub.domain.com"
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
David Thurstenson 2002eb22ce Initial commit 7 months ago
Containerfile Initial commit 7 months ago
README.md Initial commit 7 months ago

README.md

Update Linode DNS records with your local IPv4 and IPv6 addresses.

Forked from https://github.com/nvllsvm/linode-dynamic-dns

Changes from upstream

  • Runs linode-dynamic-dns twice. One using $HOST and a second using *.$HOST
  • Move from Dockerfile to Containerfile
  • Use podman commands in documentation
  • Added Prerequisites section

Prerequisites

  • Linode API Token with read/write access to Domains
  • A and AAAA records for $HOST.$DOMAIN and *.$HOST.$DOMAIN must already exist
    • New records will not be created if they don't already exist, so you can easily disable the update functionality for one or more of these records by simply deleting them from Linode's Domains Manager (e.g. if you only want A records and no AAAA records)

Environment Variables

Required

  • DOMAIN - Domain name
  • HOST - Host name (aka subdomain)
  • TOKEN - Linode API token

Optional

  • FREQUENCY - Number of minutes to wait between updates (default 15).

Build image

$ podman build -t linode-dynamic-dns-plus-wildcard \
    https://git.thurstylark.com/containers/linode-dyndns-plus-wildcard.git

Usage

$ podman run -dt \
    -e DOMAIN=yourdomain.com \
    -e HOST=www \
    -e TOKEN=apitoken \
    linode-dynamic-dns-plus-wildcard