How To Install ddclient on CentOS 7

In this tutorial we learn how to install ddclient on CentOS 7. ddclient is Client to update dynamic DNS host entries

Introduction

In this tutorial we learn how to install ddclient on CentOS 7.

What is ddclient

ddclient is a Perl client used to update dynamic DNS entries for accounts on many different dynamic DNS services. Features include Operating as a daemon, manual and automatic updates, static and dynamic updates, optimized updates for multiple addresses, MX, wildcards, abuse avoidance, retrying the failed updates and sending update status to syslog and through e-mail.

We can use yum or dnf to install ddclient on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install ddclient.

Install ddclient on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install ddclient using yum by running the following command:

sudo yum -y install ddclient

Install ddclient on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install ddclient using dnf by running the following command:

sudo dnf -y install ddclient

How To Uninstall ddclient on CentOS 7

To uninstall only the ddclient package we can use the following command:

sudo dnf remove ddclient

References

Summary

In this tutorial we learn how to install ddclient on CentOS 7 using yum and dnf.