Update the ipaddress for a record in namesilo.
705
Please check source codes on github: https://github.com/windsting/update-namesilo-record
Update the ip address for a record in namesilo, like myhome-dynamic-ip.example.com. what is the purpose of that, well, because of:
with a local public IP fetched from free service, requests to two api:
All it does is just:

I'm gonna use myhome-dynamic-ip.example.com as the example, so just replace them with your own values.
example.com part in examplemyhome-dynamic-ip part in exampledocker run --name update-ns-ip --env API_KEY=your-api-key --env DOMAIN=your-domain.com --env RECORD_NAME=your-record-name windsting999/update-namesilo-record
Don't forget to replace those environment variable(i.e. your-api-key, your-domain.com, your-record-name) to your own values, read the prerequisite for using part for getting them.
With command above, selected the golang version, because tags latest and golang refer to the same image, and there are some other version, check them on the tags page.
If you prefer use it without docker, please read those README.md in their corresponding directory.
To provide prerequired values, use these environment variables, they were mentioned in docker usage section:
API_KEY: Your API KeyDOMAIN: Your domain nameRECORD_NAME: Your record nameIn addition to those mandatary environment variable, here is some customizable ones:
IP_ECHO: url for public service to fetch local public IP
default value is http://icanhazip.com
change it in case of default service not working
CHECK_INTERVAL_SECONDS: seconds to sleep after every iteration
default value is 60, one minute
PRINT_SAME_COUNT_STEP: update with same IP, after this count of iteration
default value is 360, about every six hours
Content type
Image
Digest
Size
1.6 MB
Last updated
about 7 years ago
docker pull windsting999/update-namesilo-record