Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.74 KB

Readme.md

File metadata and controls

39 lines (28 loc) · 1.74 KB

GoDaddy DynDns

License Build and Test Go Report Card

godaddy-dyndns is a simple utility that is basically a DIY dynamic DNS. It checks the current public IP against a GoDaddy domain and, if they don't match, it updates the domain to point to the new IP address.

Installation

Grab the latest release binaries for your OS-architecture from the latest release.

Usage

$ ./godaddy-dyndns -h
godaddy-dyndns

Options:

  -h, --help                               display help information
      --api-key[=$GODADDY_API_KEY]         GoDaddy Api Key
      --secret-key[=$GODADDY_SECRET_KEY]   GoDaddy Secret Key
      --domain[=$GODADDY_DOMAIN]           GoDaddy SubDomain to update. If the subdomain doesn't exist it creates it

Examples

./godaddy-dyndns --api-key=my_godaddy_api_key --secret-key=my_godaddy_secret_key --domain=mysubdomain.mikemylonakis.com  # updates the mysubdomain subdomain of mikemylonakis.com
./godaddy-dyndns --api-key=my_godaddy_api_key --secret-key=my_godaddy_secret_key [email protected]            # updates the root domain, i.e. mikemylonakis.com
./godaddy-dyndns --api-key=my_godaddy_api_key --secret-key=my_godaddy_secret_key --domain=mikemylonakis.com                   # updates the root domain, i.e  mikemylonakis.com