DynDNS

Created at 2016-09-09 Updated at 2016-11-02 Tag Dynamic DNS / Hosting

Serving internet content from your home address can be difficult. Your ISP may change your IP address at any given moment, making it difficult to find your server on the internet. Dynamic DNS is a way to always be able to find your home server using conistent domain name. This guide will walkyu through setting p dynamic DNS with the privider www.noip.com.

Step 1

First we have to get us a free subdomain with DynDNS. Therefore we register us for free at No-IP.com. We are going to be using the free option.

Step 2

Now we install the No-IP.com the Dynamic DNS Update client for Linux on our Raspberry Pi and unpack it. He will later check every few minutes to see if the IP address has changed, if so, notify the application this No-IP.com with, so your subdomain refers again to the current IP address of Raspberry Pis.

1
2
3
wget http://www.noip.com/client/linux/noip-duc-linux.tar.gz
tar xf noip-duc-linux.tar.gz
rm noip-duc-linux.tar.gz
Step 3

Rename directory and enter:

1
2
mv noip-* noip
cd noip
Step 4

Now we install the application. At the end of this call we are asked for our e-mail address of the No-IP.com account, our password, and the subdomain and the update interval. Here we enter our data.

1
sudo make install

Step 5

Now we have to start the installed application using the following command.

1
sudo noip2

Step 6

If you want that the update will start automatically with the client Raspberry Pi and thus always updates the IP, you can to create a crontab.
crontab -e

1
@reboot cd /home/pi/noip && sudo noip2

Now forward the ports on whatever web services you will be using with your custom domain.

Site by Jackson Stokes

Hide