Skip to content

Dynamic DNS Setup

Paul edited this page Sep 10, 2019 · 1 revision

If you have your own private domain name that you wish to use and have a static IP or a way to dynamically update it then you can skip this section.

What is Dynamic DNS?

Dynamic DNS, also known as DDNS, solves the problem of ever changing residential IP addresses by associating your address with a consistent domain name without the need to buy a pricey static IP.

While there are many DDNS providers NoIP.com is a free provider who provide a client that will work on a Raspberry Pi webserver

You will need an account on noip.com to use their service

This page is a mirror of the official No-IP knowledgebase article.

How to Install the No-IP DUC on Raspberry Pi

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“.

mkdir /home/pi/noip
cd /home/pi/noip

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.

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 5 or more. The interval is listed in minutes, if you choose 5 the update interval will be 5 minutes. If you choose 30 the interval will be 30 minutes.

sudo /usr/local/bin/noip2

To confirm that the service is working properly you can run the following command.

sudo noip2 ­-S (Capital “S”)

You are now ready to move on to Let's Encrypt Setup