Welcome to Dynamic IP Auto Updater!
This Dynamic IP Auto Updater is designed and created especially for those who are using dynamic ipv4 IP for their Debian / Ubuntu ISPConfig 3 Server instead of static ipv4 IP as usually required. When it is setup using cron job as described in the how to guids below, the IP Updater will update the dynamic ipv4 IP in ISPConfig 3 Server and resync it accordingly.
The How To Guide
Whether you are using ISPConfig version 3.0 or 3.1 and too busy to copy, create, rename or edit all relevant files manually, then simply use wget to get ip_updater.php into /usr/local/ispconfig/interface/lib/ folder together with ip_updater for cron job.
The new script file will be checking for your ip_updater.php file before executing it. The reason for this addup checking is if you install and uninstal or upgrade ISPConfig, there is a chance that the whole folder including ip_updater will be deleted. If that happens, the script will get all the files again before executing ip_updater.
Just copy paste these lines unto your terminal and you are good to go:
sudo wget https://raw.githubusercontent.com/ahrasis/IP_Updater/master/ip_updater.php
sudo wget https://raw.githubusercontent.com/ahrasis/IP_Updater/master/ip_updater
sudo wget https://raw.githubusercontent.com/ahrasis/IP_Updater/master/ip_updater.sh
sudo chmod +x ip_updater.sh
As an important note, this ip updater is only changing the ipv4 ip address in ISPConfig 3 database and websites and not for the server and not at the respective dynamic dns site such as Zoneedit. You will need to install a specific software utility to perform dynamic dns updates like ddclient of which its guides may be found in ubuntu help site and some blogs.
We are promoting the use of our site at http://ip.sch.my for updating ip using ddclient or this ip updater. Below is a sample for /etc/ddclient.conf that is using Zoneedit.
The license is as stated in the ip_updater.php file. Feel free to fork the code and improvise it to suit your needs accordingly.