Skip to content
This repository has been archived by the owner on Apr 8, 2020. It is now read-only.
/ nulldaddy-ddns Public archive

A simple CLI tool and daemon that use IPify's & GoDaddy's REStful API to provide DDNS features.

License

Notifications You must be signed in to change notification settings

ipolyzos/nulldaddy-ddns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple CLI tool and daemon that use IPify's & GoDaddy's REStful API to provide DDNS features.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published