ip-ddns

command module
v0.0.0-...-2c9df62 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: 0BSD Imports: 10 Imported by: 0

README

DirectAdmin DNS records syncer

This tool synchronizes DNS records between DDNS and DirectAdmin.

I'm unable to find decent solution for sending updates from my Archer C6, so I came up with a tool that is intended to query TP-Link DDNS service (ns1.tplinkdns.com) for my router's external IP and to update DNS record for int subdomain in DirectAdmin panel.

When life gives you lemons then spin up the hamster ¯\_(ツ)_/¯

Installation

go get git.ext.icikowski.pl/icikowski/ip-ddns@latest

Configuration

Environment variable Description
SYNCER_DA_URL DirectAdmin panel URL (default: https://s149.cyber-folks.pl:2223)
SYNCER_DA_USER DirectAdmin panel username
SYNCER_DA_TOKEN DirectAdmin panel token
SYNCER_DOMAIN_SRC_NAME Source domain name (DDNS one)
SYNCER_DOMAIN_SRC_NAMESERVER Source nameserver (DDNS one)
SYNCER_DOMAIN_DST_NAME Destination domain name (DA one)
SYNCER_DOMAIN_DST_NAMESERVER Destination nameserver (DA one)
SYNCER_DOMAIN_ENTRY_DN Entry domain name (from domains configured in DA)
SYNCER_DOMAIN_ENTRY_NAME Entry name
SYNCER_DOMAIN_ENTRY_TTL Entry TTL (default: 60)
SYNCER_RESYNC_TIME Resync time (default: 15m)

Working example

Screenshot

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
adapter

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL