A docker container to update namesilo's dynamic DNS. Forked from https://github.com/fedoranimus/namesilo-dynamicdns-docker with the following enhancements:
- Based off the very efficient
node:lts-alpine3.11
image. - Internal cron job - run and forget.
- Caching of IP address
- Log levels, log tweaks
docker run -d -v /namesilo/ddnsConfig.json:/namesilo/ddnsConfig.json -e API_KEY='ApiKey' chaseamiller/namesilo-ddns
See https://hub.docker.com/r/chaseamiller/namesilo-ddns.
For host example.com
& www.example.com
{
"records": [
{
"domainName": "example.com",
"hostNames": [
"",
"www"
]
}
],
"useCache": true, // Cache the current IP address. Setting this to true prevents needlessly hitting namesilo's servers.
"cronConfig": {
"runCron": true, // Start a recurring cron job within the runtime. Setting this to true means you can start a docker container and let it run in the background to be sure that namesilo will be updated whenever your IP changes.
"intervalMinutes": 20 // The number of minutes between cron job runs.
},
"logLevel": "info" // debug, info, warning, error
}