Setup No-IP Dynamic DNS Service on Arch Linux

noip-arch

No-IP is a free DDNS or Dynamic Domain Name System service. The setup consists of the No-IP client that runs on the Linux machine and the No-IP back-end service that is hosted by No-IP. The client is very easy to install and once configured will periodically connect to No-IP back-end service and save the IP of the client. No-IP back-end will then be able to redirect to the dynamic IP of the client machine. As an alternative a custom Dynamic DNS service can be configured on a remote server.

 

Setup No-IP Back-end

Register an account on No-IP website and sign-in. Click on Add Host and enter the hostname, select the domain name and optionally customize other options.

 

Install No-IP Client

If needed install Packer on Arch Linux or install Yaourt on Arch Linux or use another package wrapper.

 

Install No-IP Client with packer.

packer -S noip

 

Configure No-IP Back-end

Create the configuration file.

sudo noip2 -C

Enter the relevant details when prompted. All settings can be modified individually later.

 

Modify the update interval.

sudo noip2 -U 30

Interval that the IP will be updated is set with -U option in minutes. Default is 30 minutes.

 

Modify No-IP username.

sudo noip2 -u username

 

Modify No-IP password.

sudo noip2 -p password

 

Start noip service.

sudo systemctl start noip2

 

Enable noip service.

sudo systemctl enable noip2

 

Quick Reference

Register an account on No-IP website and sign-in.

Install Packer on Arch Linux or Install Yaourt on Arch Linux

packer -S noip
sudo noip2 -C
sudo noip2 -U 30
sudo noip2 -u username
sudo noip2 -p password
sudo systemctl start noip2
sudo systemctl enable noip2

dom