What is this for?
docker pull linuxshots/godaddy-ddns:latest
For DNS myserver.example.com with ttl 1200 seconds
docker run --name myserver.example.com -d \
--restart unless-stopped \
--env GD_NAME=myserver --env GD_DOMAIN=example.com --env GD_TTL=1200 \
--env GD_KEY=key-value-from-godaddy-developer-console --env GD_SECRET=secret-key-value-from-godaddy-developer-console \
linuxshots/godaddy-ddns:latest
docker logs myserver.example.com
And, You are done.
Make sure to use --restart option while running docker run. This make sure container starts automatically when your machine boots up.
To add another dns in same machine (Max 5 recommended due to rate limitations), Run the same docker run command with different container name and other values.
GD_NAME
This environment variable is required to use this image. This environment variable sets hostname (subdomain). For myserver.example.com myserver is hostname (subdomain).
GD_DOMAIN
This environment variable is required to use this image. This environment variable sets domain name. For myserver.example.com example.com is domain name.
GD_TTL
This environment variable is required to use this image. This environment variable sets time-to-live for a dns record. Minimum value allowed is 600.
GD_KEY
This environment variable is required to use this image. This environment variable sets GoDaddy key to authenticate to GoDaddy APIs. This can be generated from GoDaddy developer console.
GD_SECRET
This environment variable is required to use this image. This environment variable sets GoDaddy secret to authenticate to GoDaddy APIs. This can be generated from GoDaddy developer console.
How to reach me ?
Content type
Image
Digest
sha256:029d299e8…
Size
14 MB
Last updated
about 4 years ago
docker pull linuxshots/godaddy-ddns