Running the Linux DUC v3.0 at startup


Once you have installed the new Linux DUC, you will likely want it to run at startup so that the software is always running. That way, if your IP address changes, the No-IP Dynamic Update Client (DUC) will make sure your hostname is reflecting that new IP address.

This guide assumes you are using a Linux distribution using Systemd. I am using Ubuntu Server here so please note the instructions might vary based on the distro you are using.

Let’s go!

While inside the downloaded noip-duc_3.0.0-beta.* folder, copy the debian/service folder over to your systemd folder:

sudo cp debian/service /etc/systemd/system/noip-duc.service

There is currently a discrepancy in the installation instructions for the Linux DUC. Please edit the /etc/systemd/system/noip-duc.service file and change line 7 to:

ExecStart=/usr/local/bin/noip-duc

Next you will need to create a configuration file for the noip-duc program to read.

Create and edit the file /etc/default/noip-duc using your favorite text editor. I use Nano.

Config file:

## File: /etc/default/noip-duc
NOIP_USERNAME=
NOIP_PASSWORD=
NOIP_HOSTNAMES=

Example config file:

NOIP_USERNAME=myusername
NOIP_PASSWORD=mypassword
NOIP_HOSTNAMES=example.ddns.net,exampledomain.com,noiptest.redirectme.net

Save the file. Next, reload your systemd daemon:

sudo systemctl daemon-reload

Then enable the service:

sudo systemctl enable noip-duc

Finally, start the program:

sudo systemctl start noip-duc

If everything went okay, then the No-IP DUC should be running in the background. You can run the command sudo systemctl status noip-duc and review the recent entries. A successful installation and setup will look like this:

We recommend checking out the INSTALL.MD and README.MD files within the noip-duc_3.0.0-beta.5 directory to see our full documentation and help guide.

If everything went smoothly, noip-duc should be running in the background and will automatically run when your computer starts, ensuring you can always access your devices on the go.

If you are still having trouble, feel free to check out our knowledge base or reach out to our support team at support@noip.com.