Updating IP Address In No-IP.com With Raspberry Pi
I previously wrote how to use ddclient on a Raspberry Pi to updating an IP address In OpenDNS. Shortly afterward I added updating the IP of my noip.com domain into my configuration but never documented it… until now.
If you don’t yet have ddclient installed, follow steps 1, 2, 7, 8, 9 & 10 in the previous post to install it. Once done, come back here and do the following:
- At the command line type the following and hit enter:
sudo nano /etc/ddclient.conf
- Enter the following in the ddclient.conf:
#noip
protocol=noip
use=web
ssl=yes
login=USERNAME
password=PASSWORD
HOSTNAME
USERNAME
should be your noip.com username.
PASSWORD
should be your password.
HOSTNAME
should be the no-ip hostname you want to update. - Hit CTRL-X to exit nano. When prompted to save be sure to say yes and hit enter to confirm the file name.
- From the command line type the following and hit enter:
sudo nano /etc/default/ddclient
- Restart ddclient by typing the following at the command line and hitting enter:
sudo /etc/init.d/ddclient restart
If all went well you’ll see the following line and then be back at the command line:
[ ok ] Restarting ddclient (via systemctl): ddclient.service.
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.