dodyndns

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

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

Go to latest
Published: Jul 16, 2021 License: MIT Imports: 10 Imported by: 0

README

dodyndns

Updates a DigitalOcean domain record with your public IP

Usage

dodyndns --domain example.com --record home --token $DIGITALOCEAN_TOKEN
Flag Description
domain The name of the domain on your DigitalOcean account
record The record name to update
token Your DigitalOcean API token

I run this from a K3s cluster of Raspberry Pi 4's.

To build it into an image I use Docker Buildx.

docker buildx create --name dodyndns --use
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 -t eddiezane/dodyndns:latest --push .

See job.yml for an example manifest.

Create a Kubernetes secret with:

kubectl create secret generic dodyndns --from-literal=token=YOUR_TOKEN

License

MIT

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