Welcome to Dynamic IP Auto Updater!
This Dynamic IP Auto Updater is designed and created especially for those who are using dynamic IP for their Debian / Ubuntu ISPConfig 3 Server instead of static 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 IP in ISPConfig 3 Server and resync it accordingly.
The How To Guide
Whether you are using ISPConfig version 3.0 or 3.1 or too busy to copy, create, rename or edit all relevant files as shwon steps-by-steps in Dynamic IP Auto Updater old page, then simply use wget to get ip_updater.php, ipu_resync.php and ipu_app.inc.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/ipu_resync.php
sudo wget https://raw.githubusercontent.com/ahrasis/IP_Updater/master/ipu_app.inc.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
As an important note, this ip updater is only changing the ip address for ISPConfig 3 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 really suggest to use our site at http://ip.sch.my for updating ip using ddclient or this ip updater.
Below is 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.