How To Install zonecheck-cgi on Debian 9

In this tutorial we learn how to install zonecheck-cgi on Debian 9. zonecheck-cgi is DNS configuration checker (web interface)

Introduction

In this tutorial we learn how to install zonecheck-cgi on Debian 9.

What is zonecheck-cgi

zonecheck-cgi is:

DNS is a critical resource for every network application, so it is quite important to ensure that a zone or domain name is correctly configured in the DNS.

ZoneCheck is intended to help solving misconfigurations or inconsistencies usually revealed by an increase in the latency of the application, up to the output of unexpected/inconsistant results.

This package is the CGI version, for the Web.

There are three methods to install zonecheck-cgi on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install zonecheck-cgi Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install zonecheck-cgi using apt-get by running the following command:

sudo apt-get -y install zonecheck-cgi

Install zonecheck-cgi Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install zonecheck-cgi using apt by running the following command:

sudo apt -y install zonecheck-cgi

Install zonecheck-cgi Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install zonecheck-cgi using aptitude by running the following command:

sudo aptitude -y install zonecheck-cgi

How To Uninstall zonecheck-cgi on Debian 9

To uninstall only the zonecheck-cgi package we can use the following command:

sudo apt-get remove zonecheck-cgi

Uninstall zonecheck-cgi And Its Dependencies

To uninstall zonecheck-cgi and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove zonecheck-cgi

Remove zonecheck-cgi Configurations and Data

To remove zonecheck-cgi configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge zonecheck-cgi

Remove zonecheck-cgi configuration, data, and all of its dependencies

We can use the following command to remove zonecheck-cgi configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge zonecheck-cgi

Dependencies

zonecheck-cgi have the following dependencies:

References

Summary

In this tutorial we learn how to install zonecheck-cgi package on Debian 9 using different package management tools: apt, apt-get and aptitude.