||4 years ago|
|api||8 years ago|
|dyndns||4 years ago|
|log||8 years ago|
|scripts||8 years ago|
|.gitignore||8 years ago|
|.travis.yml||7 years ago|
|LICENSE||8 years ago|
|README.md||6 years ago|
|main.go||4 years ago|
Client that automatically updates name.com DNS records.
Since name-dyndns has no external dependencies, you can get it simply by:
go get github.com/mfycheng/name-dyndns
In order to use name-dyndns, you must have an API key from name.com, which can be requested from https://www.name.com/reseller/apply.
Once you have your API key, all you must do is setup
config.json. An example
config.json file can be found in
Command Line Arguments
By default, running name-dyndns will run a one-time update, using
as a configuration file, and stdout as a log output. However, these can be configured. For example:
./name-dyndns -daemon=true -dev=true -log="/var/log/name-dyndns/out.log" -config="~/name_config.json"
This will run name-dyndns in daemon mode for dev configurations, outputting to
/var/log/name-dyndns/out.log, using the configuration file
A detailed usage can be found by running:
Currently, there is limited testing, primarily on name-api dependant utilities. While error handling should be done gracefully, not every edge case has been tested.
Ideally, when running in daemon mode, name-dyndns tries to treat any errors arising from network as transient failures, and tries again next iteration. The idea behind this is that a single network failure shouldn't kill the daemon, which could then potentially result in having the DNS records out of sync, which would defeat the whole point of name-dyndns.