Lets install the No-IP DUC from No-IP but before we do that lets look at No-IP DUC, what it is and where can I obtain more information:
No-IP/DDNS (Dynamic Domain Name System) is a service that associates a domain name with a changing IP address. ISPs often assign dynamic IP addresses, which can be problematic for hosting services such as CurrentWare for a remote setup.
No-IP/DDNS solves this by mapping the domain name to the changing IP address using client software or network device configurations. It ensures consistent access to services by automatically updating the DNS record with the latest IP address information.
Click HERE to obtain more information about No-IP.
Let's get started!
Make an account with No-IP
and Create Host Name.
You will be able to install No-IP’s
Dynamic Update Client on Raspberry Pi in just a few minutes using
Terminal.
Installing the service is simple to do, and requires
little knowledge of Linux.
You will need to create a
directory for the client software to be installed.
Open
Terminal and type the following. After each entry press “Enter“.
sudo
mkdir
/home/ZS1I/noip
[enter]
ls [enter] (noip will be listed)
cd
/home/ZS1I/noip [enter]
After
creating the folders for the DUC it is time to download the
software.
Within the Terminal window type the
following. After each entry you will press “Enter”.
wget
http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz
tar
vzxf noip-duc-linux.tar.gz
Next
navigate to the directory you created to locate the downloaded files.
(/home/ZS1I/noip)
cd
noip-2.1.9-1
Now
install the program.
sudo
make
sudo make install
After
typing “sudo make install” you will be prompted to login with
your No-IP account username and password. After
logging into the DUC answer the questions to proceed. When asked how
often you want the update to happen you must choose 30 or more. The interval is listed in minutes, if you choose 30 the update interval will be 30 minutes. If you choose 15 the interval will be 15 minutes.
Please
enter the login/email string for no-ip.com ***********
Please
enter the password for user **********
3 hosts are registered to this account.
Do you wish to have them all updated?[N] (y/N) N
Do you wish to have host [two.ddns.net] updated?[N]
Do
you wish to have host [three.ddns.net]
updated?[Y]
Please enter an update interval:[30] 30
Do
you wish to run something at successful update?[N]
sudo
/usr/local/bin/noip2
To
confirm that the service is working properly you can run the
following command.
sudo
noip2 -S (Capital “S”)
Notes:
To start Noip2: sudo /etc/init.d/noip2 start [enter]
Test Service: sudo noip2 -S [enter]
Check if No-IP DUC is installed:
1. Modern noip-duc version = sudo noip-duc –version [enter] (49355 not using modern version)
2. Legacy noip2 version = sudo noip2 -S [enter]
Output:
ZS1I@49355:~ $ sudo noip2 -S
No noip2 processes active.
Configuration data from /usr/local/etc/no-ip2.conf.
Account configured for:
host dmrrepeater.ddns.net
host zs1iallstar1.ddns.net
host zs1imumble.ddns.net
Updating every 30 minutes via /dev/eth0 with NAT enabled.
ZS1I@49355:~ $
Quick System-Wide Search:
ZS1I@49355:~ $ sudo whereis noip2
noip2: /usr/local/bin/noip2
ZS1I@49355:~ $
