porkbun-ddns

command module
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2023 License: MIT Imports: 17 Imported by: 0

README

porkbun-ddns

This project updates your DNS records at Porkbun with your current public IP address. Your IP address is determined using https://wtfismyip.com/

Install

Snapcraft

Get it from the Snap Store

Docker

Modify the following command to match your specific requirements (path to the config file):

docker run -d --restart always --network host -v $PWD/config.yaml:/config.yaml ghcr.io/jadolg/porkbun-ddns:latest

note: I'm using --network host to avoid setting up IPv6 in Docker.

Direct download

Not a fan of running snaps or docker? Not a problem! Grab the binary for your system/architecture directly from the release page and start using it.

From source

You can also just install from GitHub using Go directly go install github.com/jadolg/porkbun-ddns@v0.6.1

Metrics

To enable the collection of metrics, change the config file and set a valid port. The current metrics are:

  • porkbun_update_errors_total
  • porkbun_credentials_error_total
  • porkbun_resolve_errors_total
  • porkbun_update_success_total

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