How to Install the Linux Dynamic Update Client on Ubuntu

You will be able to install’s DUC on Ubuntu in just a few minutes with Terminal.

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.

Once you have opened your Terminal window, log in as the “root” user. You can become the root user from the command line by entering “sudo -s” followed by the root password on your machine.

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

You will then be prompted to log in with your No-IP account username and password.

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 No-IP username and password, as well as the hostnames you wish to update. Be careful, one of the questions is “Do you wish to update ALL hosts.” If answered incorrectly, this could effect 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. Typically, to run the client at startup you will use:

$ systemctl enable noip2.service (start on boot)

The other common commands used for Ubuntu are:

$ systemctl start noip2.service (start immediately)

$ systemctl status noip2.service (for status)

The DUC should now be installed on Ubuntu.