60.31 No-IP

Dynamic DNS (DDNS) supports the mapping of a static domain name to a dynamic IP address, so that your home computer can be accessed with the same host name from anywhere on the internet, even whilst your ISP changes your IP address. Such a service is available from a number of providers, including No-IP. After signing up for the free service (or for the paid service providing more alternatives and support), we can then choose a hostname like kayon.redirectme.net. Through the web interface at No-IP we can then assign an IP address.

The key advantage of a service like No-IP is the tracking of our changing IP address. For this to work we need to communicate the new IP address to the DDNS server. Some modems (such as the FritzBox modems) directly support DDNS and we simply need to configure the modem with the domain name, username and password for No-IP.

If the modem does not support DDNS, the we need to run a local script to update No-IP. For Debian and Ubuntu there is a package we can install: noip2. To configure noip2 we do the following:

$ wajig reconfigure noip2
Username: kayon@togaware.com
Password: *******
Interval: 10
Host or Group: kayon.redirectme.net
Network devince name: <blank>
Disable NAT: No
Shutting down dynamic address update: noip2.

Auto configuration for Linux client of no-ip.com.

2 hosts and 1 group are registered to this account.
Host kayon.redirectme.net selected.

New configuration file '/var/lib/noip2/noip2.conf' created.

Starting dynamic address update: noip2.

An older package no-ip would be configured daemon with:

$ sudo no-ip -C

Auto configuration for Linux client of no-ip.com.

Please enter the login/email string for no-ip.com  kayon@togaware.com
Please enter the password for user kayon@togaware.com'    ********

1 host registered to this account.
Do you wish to have host [kayon.redirectme.net] updated?[N] (y/N)  y
Please enter an update interval:[30]  
Do you wish to run something at successful update?[N] (y/N)  

New configuration file '/etc/no-ip.conf' created.

$ wajig start no-ip

Either way, the local no-ip daemon is now setup and operating, and regularly informaing the service of our IP address.



Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0