btdwv / noip-renew

Auto renew (confirm) noip.com free hosts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Script to auto renew/confirm noip.com free hosts

noip.com free hosts expire every month. This script auto click web pages to renew the hosts, using Python/Selenium with Chrome headless mode.

noip.com hosts

Usage

  1. Set your noip.com account info and number of hosts in noip-renew.sh,
  2. Run setup.sh,
  3. Run noip-renew.sh, check result.png (if succeeded) or error.png (if failed)

For docker users, check Dockerfile, docker-compose.yml, crontab-docker-host.

Check confirmed records from multiple log files:

grep -h Confirmed *.log | grep -v ": 0" | sort

Remarks

The script is not designed to renew/update the dynamic DNS records. Check noip.com document for that purpose. And most wireless routers support noip.com. You can also check DNS-O-Matic to update multiple noip.com DNS records.

There is no chromedriver on Raspberry Pi by default. You may need to install it manually for Pi.

History

  • 0.4 (1/14/2019): Add num_hosts argument, change for button renaming; support user agent.
  • 0.3 (5/19/2018): Support Docker, ignore timeout, support proxy, tested on python3.
  • 0.2 (11/12/2017): Deploy the script as normal user only. root user with 'no-sandbox' option is not safe for Chrome.
  • 0.1 (11/5/2017): Support Debian with Chrome headless.

About

Auto renew (confirm) noip.com free hosts

License:Apache License 2.0


Languages

Language:Python 67.5%Language:Shell 24.4%Language:Dockerfile 8.1%