Script to keep the Whitelist API (http://wiki.opennicproject.org/API_Whitelist) updated with your current IP address.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
install.sh
opennic-update
opennic-update.conf
update.py

README.md

OpenNIC Whitelist Updater

Script to keep the Whitelist API (http://wiki.opennicproject.org/API_Whitelist) updated with your current IP address.

Please be aware that this script makes requests to non-whitelist OpenNIC DNS servers to get the IP address of OpenNIC's API server. Several servers are queried and the most common result is used. Please see /etc/opennic-update/opennic-update.conf for details on the configuration.

Please see install.sh for details.

Install by running the following command:

wget -O install.sh https://raw.githubusercontent.com/CalumMc/OpenNIC-Whitelist-Updater/master/install.sh && sudo bash ./install.sh

Or alternatively download install.sh and run it as root using a method of your choice.

Note: please check the URL first so you are aware of what the script does.

Once installed, the daemon can be controlled by using the commands:

sudo /etc/init.d/opennic-update start
sudo /etc/init.d/opennic-update stop
sudo /etc/init.d/opennic-update status

The /etc/opennic-update/opennic-update.conf file can be edited, although rerunning the install script will reconfigure the daemon.