dynamic-dns

command module
v0.0.0-...-9591bda Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 License: MIT Imports: 9 Imported by: 0

README

dynamic-dns

This is an ultra-minimalist dynamic dns self-update service. My CenturyLink router cannot speak Google's protocol for unknown reasons, so I rolled my own.

When run, the program fetches its own public IP, and if the name is not already associated with that IP, it sends it to the DNS service before exiting.

Installation

I've included a Kubernetes CronJob specification to ensure DNS is properly configured as frequently as desired.

Ensure you have a working cluster and ko installation.

  1. Edit conf/secrets.default.yaml as needed. The request URL is set to https://domains.google.com/nic/update; all other values are placeholders.
  2. Edit the cron schedule in conf/cronjob.yaml as desired.
  3. Run ko apply -f conf/.

Disclaimer: I wrote this service using Google's example HTTP request. I can't guarantee that this is a well behaved client.

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