A simple CLI tool and daemon that use IPify's & GoDaddy's REStful API to provide DDNS features.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
CONTRIBUTING.md
Dockerfile
LICENSE
README.md
glide.yaml
main.go
run.sh
types.go

README.md

NullDaddy-DDNS

NullDaddy-DDNS is a weekend's long pet project attempting to provide a poor-man's, Dynamic-DNS using ipify and GoDaddy's - Developer APIs.

Usage

NullDaddy-DDNS can be used as a CLI tool to issue a single update to a GoDaddy DNS record i.e.

./nulldaddy-ddns --domain=[DOMAIN] --record=[DOMAIN_RECORD] --key=[DEVELOPER_KEY] --secret=[DEVELOPER_SECRET]

NullDaddy-DDNS could also be used as a daemon to continuasly update the record in specified intervals by using the "--daemon" flag.

Please advise the "Help page" for more.

Docker

A docker image with NullDaddy-DDNS is provided at docker hub. Environment variables could be used to configure all aspects of NullDaddy-DDS (please refer to help page) e.g.

 docker run \
        -e GODADDY_DOMAIN=[DOMAIN_NAME] \
        -e GODADDY_RECORD=[SUBDOMAIN] \
        -e GODADDY_KEY=[GODADDY_DEVELOPER_KEY] \
        -e GODADDY_SERCRET=[GODADDY_DEVELOPER_SECRET] 
  nulldaddy-ddns:0.0.1

Help page

NAME:
   nulldaddy-ddns - Poor man's DDNS!

USAGE:
   nulldaddy-ddns [global options] (mode)

VERSION:
   0.0.1

AUTHOR(S):
   Ioannis Polyzos 

COMMANDS:
     help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --key value, -k value           The developer's 'KEY'. [$GODADDY_KEY]
   --secret value, -s value        The developer's 'SECRET'. [$GODADDY_SERCRET]
   --domain value, --dn value      The 'DOMAIN' you would like to update. [$GODADDY_DOMAIN]
   --record value, -r value        The domain 'RECORD' you would like to update. [$GODADDY_RECORD]
   --record-type value, -t value   The 'TYPE' of domain record you would like to update. (default: "A") [$GODADDY_RECORD_TYPE]
   --record-ttl value, --tt value  The 'TTL' of domain record you would like to update. (default: 600) [$GODADDY_RECORD_TTL]
   --daemon, -d                    Run godaddy-dns as a'DAEMON'. [$NULLDADDY_DAEMON]
   --interval value, -i value      The 'INTERVAL' between update in sec. (default: 1800) [$NULLDADDY_INTERVAL]
   --help, -h                      show help
   --version, -v                   print the version

Developing NullDaddy-DDNS

See the contribution guidelines