How To Install validns on Ubuntu 22.04
Introduction
In this tutorial we learn how to install validns
on Ubuntu 22.04.
What is validns
validns is:
Validns is a standalone command line RFC 1034/1035 zone file validation tool that, in addition to basic syntactic and semantic zone checks, includes DNSSEC signature verification and NSEC/NSEC3 chain validation, as well a number of optional policy checks on the zone.
The utility was developed with the goal of it being the last verification step in the chain of production and publication of one or more zones containing up to many thousands (or millions) of signed records, making the speed of operation a primary focus, and reflect on validns’ design.
The utility is currently being used by several major DNS operators.
Currently, validns offers the following features:
- parse RFC 1035-compliant zone files (so called “BIND” file format)
- supports most of the standard record types
- informs the user precisely where and what the errors are
- verifies RRSIG signatures
- NSEC/NSEC3 chain validation
- supports signature validation in the future or in the past
- built-in policy checks
There are three methods to install validns
on Ubuntu 22.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install validns Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install validns
using apt-get
by running the following command:
sudo apt-get -y install validns
Install validns Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install validns
using apt
by running the following command:
sudo apt -y install validns
Install validns 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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install validns
using aptitude
by running the following command:
sudo aptitude -y install validns
How To Uninstall validns on Ubuntu 22.04
To uninstall only the validns
package we can use the following command:
sudo apt-get remove validns
Uninstall validns And Its Dependencies
To uninstall validns
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove validns
Remove validns Configurations and Data
To remove validns
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge validns
Remove validns configuration, data, and all of its dependencies
We can use the following command to remove validns
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge validns
References
Summary
In this tutorial we learn how to install validns
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.