validns command not found

In this troubleshooting guide we learn how to fix validns command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

validns: command not found

or when using sudo you get the following error message

sudo: validns: command not found

Solutions to validns: command not found

How To Fix validns: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu validns is provided by validns package.

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

To fix this problem, we can install more using the command below.

sudo apt-get -y install validns

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install validns.

sudo apt -y install validns

Or if you have aptitude installed you can use the following command.

sudo aptitude install validns

Summary

In this tutorial we learn how to fix validns command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.