How to Install the Dynamic Update Client on Linux

This guide will walk you through the installation and setup of the Dynamic Update Client (DUC) on a computer running Linux.

If you are using Ubuntu Linux, please click here.

We recommend most users utilize our new Linux DUC available here, which is more modern and stable.

If you have issues installing the Linux DUC below, installing the newer version v3.x will typically solve these issues and offer more stability.

Note: You do not need to use the DUC if you’ve already configured DDNS in a router, DVR, camera, or other device.  If you have multiple update clients updating the same hostname the service will not work properly. An update client is a device with DDNS settings configured and enabled.  Our DUC is also an update client. You can still set up connections to multiple devices but make sure that each specific hostname is not updated by more than one update client.

Installing the Client

The below commands should be executed from a terminal window (command prompt) after logging in as the “root” user.  You can become the root user from the command line by entering “sudo su -” followed by the root password on your machine.

Note: If you do not have privileges on the machine you are on, you may add the “sudo” command in front of steps (5 and 6).

  1. cd /usr/local/src
  2. wget
  3. tar xzf noip-duc-linux.tar.gz
  4. cd noip-2.1.9-1
  5. make
  6. make install

If you get “make not found” or “missing gcc” then you do not have the gcc compiler tools on your machine. You will need to install these in order to proceed.

To Configure the Client

As root again (or with sudo) issue the below command:

  • /usr/local/bin/noip2 -C   (dash capital C, this will create the default config file)

You will then be prompted for your username and password for No-IP, as well as which hostnames you wish to update.  Be careful, one of the questions is “Do you wish to update ALL hosts”.  If answered incorrectly this could affect hostnames in your account that are pointing at other locations.

Now that the client is installed and configured, you just need to launch it.  Simply issue this final command to launch the client in the background:

  • /usr/local/bin/noip2

Read the README file in the no-ip-2.1.9 folder for instructions on how to make the client run at startup. This varies depending on what Linux distribution you are running.