go-ddns-client

command module
v0.0.0-...-345440d Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2023 License: MIT Imports: 10 Imported by: 0

README

Go DDNS Client

Client for DDNS written on GO

Providers
  • Clourflare
Configuration
  • Edit config.json
  • Add domain or subdomain
  • Add API TOKEN
Build
./build.sh
Configuration Linux service

Edit file service/ddns.service and change path to binary file

service ddns start service ddns restart service ddns enable service ddns status

Configuration supervisor
sudo apt update
sudo apt install -y supervisor
sudo service supervisor start
sudo supervisorctl status
sudo vim /etc/supervisor/conf.d/ddns.conf
mkdir /var/log/ddns
[program:ddns]
directory=/usr/local
command=/usr/local/bin/ddns
autostart=true
autorestart=true
stderr_logfile=/var/log/ddns/err.log
stdout_logfile=/var/log/ddns/out.log
sudo supervisorctl reload
IP source

By default, the utility uses the site http://checkip.amazonaws.com/ to use the IP address, but you can change this.

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