Pi Cloud

Pi Cloud : Dynamic DNS

For Dynamic DNS, I use No-IP, but there are a lot of free and paid options:

Whatever you choose, you’ll need to sign up for an account, and create a hostname.

ddclient

Note: this installs ddclient without the interactive configuration, since it’s not terribly helpul.

There is a template ddclient.conf, which should have sample configs for all supported dynamic DNS hosting. Find the block that applies to your domain hosting, and

Test your config:

A good result will look something like this:

DEBUG:    proxy  =
DEBUG:    url    = http://checkip.dyndns.org/
DEBUG:    server = checkip.dyndns.org
DEBUG:    get_ip: using web, http://checkip.dyndns.org/ reports 123.45.67.89
DEBUG:
DEBUG:     nic_noip_update -------------------
DEBUG:    proxy  =
DEBUG:    url    = http://dynupdate.no-ip.com/nic/update?system=noip&hostname=myhost.ddns.net&myip=123.45.67.89
DEBUG:    server = dynupdate.no-ip.com
0

Next, you’ll have to set up a cron job to periodically update your IP:

At this point, you should be good to move on to PiVPN.