Use namesilo API and parsing XML response to update the DNS in a given time interval written in Python.
-
Download the source folder.
-
Edit the config.ini for your purpose. API key can be obatined from the API manager in namesilo website. Note that quotes are not needed in the config file.
-
Install requirements by using following command under the source folder:
pip install -r requirements.txt
-
Run the program by
All output will be logged in DDNS_Update.log file in the source folder.python namesilo_DDNS_Update.py
You can modify it to run in the background depending on your operating system and preference.
You can also comment out the time.sleep(check_interval)
line and use crontab
to archive the same effects.