Sätt upp i crontab en gång i veckan, så loggar sciptet in och bytter ip i 3 sekunder. räcket för att hålla noip glada.
t.ex
## Hålla noip kontot aktivt ##
50 6 * * 2 root /jail//noip.autoupdate.py
loggar in 06:50 varje tisdag.
noip.autoupdate.py
#!/usr/bin/python
import urllib
import time
myurl = "your.Hostname"
username = "user"
password = "pass"
myip = "127.0.0.1"
print "Your IP is " + myip + "\n"
update_url = "https://" + username + ":" + password + "@dynupdate.no-ip.com/nic/update?hostname=" + myurl + "&myip=" + myip
print update_url + "\n"
print urllib.urlopen(update_url).read()
time.sleep(3)
web_page = urllib.urlopen("http://iptools.bizhat.com/ipv4.php")
myip1 = web_page.read()
print "Your IP is " + myip1 + "\n"
update_url = "https://" + username + ":" + password + "@dynupdate.no-ip.com/nic/update?hostname=" + myurl + "&myip1=" + myip1
print update_url + "\n"
print urllib.urlopen(update_url).read()