noip.com free hosts expire every month. This script auto clicks web pages to renew the hosts, using Python/Selenium with Chrome headless mode.
NOTE: this is an up-to-date fork of loblab/noip-renew repository as it seems it's not anymore actively developed, I'll try to keep this fork up to date and working as much as possible. Feel free to contribute!
- Platform: Debian/Ubuntu/Raspbian/Arch Linux, no GUI needed (tested on Debian 9.x/10.x/Arch Linux); python 3.6+
- Ref: Technical explanation for the code (Chinese)
- Created: 11/04/2017
- Original Author: loblab
- Fork Mantainer: neothematrix
- Contributors: IDemixI, Angel0ffDeath, benyjr
- Clone this repository to the device you will be running it from. (
git clone https://github.com/neothematrix/noip-renew.git
) - Run setup.sh and set your noip.com account information,
- Run noip-renew-USERNAME command.
Check confirmed records from multiple log files:
grep -h Confirmed *.log | grep -v ": 0" | sort
For docker users, run the following:
my_username='add username here'
my_password='add base64 encoded password here'
debug_lvl=2
echo -e "$(crontab -l)"$'\n'"12 3 * * 1,3,5 docker run --rm --network host moebiuss/noip-renew ${my_username} ${my_password} ${debug_lvl}" | crontab -
The script is not designed to renew/update the dynamic DNS records, but only to renew the hostnames expiring every 30 days due to the free tier. Check noip.com documentation for that purpose. Most wireless routers support noip.com. For more information, check here. You can also check DNS-O-Matic to update multiple noip.com DNS records.