dynamic-dns-route53

module
v0.0.0-...-45d7dfc Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2020 License: Apache-2.0

README

Dynamic DNS utility

Dynamic DNS utility to update DNS provider record on external IP change. This program currently works with AWS Route53 and only updates the A record. Intended use is to run the program as unix cronjob.

How to compile

Checkout the code and run the following command from src directory

go build -o ../build/ddr53

NOTE: prefix above command with GOOS=linux GOARCH=arm GOARM=5 if you intend generate binaies to run on Raspberry Pi

How to run

Copy the config.yaml from root of the repo into build folder and update the values in config.yaml to reflect your environment

./ddr53 config.yaml

Sample crontab configration

Assuming both binary and config files are copied route53 folder on user sid to system that runs cronjobs put below config into crontab using crontab -e

*/5 * * * * cd /home/sid/route53 && ./ddr53 config.yaml >> /home/sid/route53/ddr53.log 2>&1

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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