cloudflare_dynamic_dns

command module
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2017 License: GPL-3.0 Imports: 10 Imported by: 0

README

Cloudflare Dynamic DNS

Description

Small program that will automatically update your Cloudflare DNS with your dynamic public IP.

Getting Started

Rename config.json.example -> config.json

Create an API user on Cloudflare and get your Zone ID from the overview page. Use this information to fill out the config.json file's cloudflare_api section.

Optional: Configure the SMTP settings and set "enable" to "true".

No need to modify the public_ip_urls section.

You can change the interval (in minutes). It's default will check every 1 minute.

Examples

Run with default everything:

./cloudflare_dynamic_dns

Run as a cronjob:

*/1 * * * * ./path/to/cloudflare_dynamic_dns --cron=true --config=/path/to/config.json --log=true --log_path=/path/to/cloudflare_dynamic_dns.log

Run as background task:

nohup ./path/to/cloudflare_dynamic_dns --config=/path/to/config.json --log=true --log_path=/path/to/cloudflare_dynamic_dns.log &

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