peteward44/godaddy-ddns

By peteward44

Updated over 6 years ago

Docker image to provide a DDNS service for godaddy domains. Uses the GoDaddy REST API.

Image
12

1M+

peteward44/godaddy-ddns repository overview

docker-godaddy-ddns

Docker image to provide a DDNS service for godaddy domains. Uses the GoDaddy REST API to update the given domain's DNS IP address to the public IP address of the host it is executing on. Performs a check every 10 minutes, but you can alter this if you like by modifying /etc/cron.d/godaddy-ddns inside the container.

Running

First, get a GoDaddy developer key & secret from https://developer.godaddy.com/keys/. Log in with your GoDaddy account then generate the API key/secret. Note that the very first time you do this, it will be created as .Test. environment (seen at the time of writing). Go back to the same page again or click on the .Keys. top menu then generate a new .Production. API key/secret instead.

Update IPV4 address for single mydomain.com

sudo docker run -d --name=ddns --restart=always \
	-e "GODADDY_KEY=<YOUR_KEY>" \
	-e "GODADDY_SECRET=<YOUR_SECRET>" \
	-e "GODADDY_DOMAIN=mydomain.com" \
	peteward44/godaddy-ddns

Update IPV4 address for mysubdomain.mydomain.com

sudo docker run -d --name=ddns --restart=always \
        -e "GODADDY_KEY=<YOUR_KEY>" \
        -e "GODADDY_SECRET=<YOUR_SECRET>" \
        -e "GODADDY_DOMAIN=mydomain.com" \
        -e "GODADDY_TYPE=A" \
        -e "GODADDY_NAME=mysubdomain" \
        peteward44/godaddy-ddns

Building

./build.sh

Credit

Uses modified script from http://teanazar.com/2016/05/godaddy-ddns-updater/

Tag summary

Content type

Image

Digest

Size

4 MB

Last updated

over 6 years ago

docker pull peteward44/godaddy-ddns