dnsdbq command not found

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

Introduction

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

dnsdbq: command not found

or when using sudo you get the following error message

sudo: dnsdbq: command not found

Solutions to dnsdbq: command not found

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

In Ubuntu dnsdbq is provided by dnsdbq package.

dnsdbq is:

This is a pure C99 program that accesses passive DNS database systems such as:

    * the DNSDB API server at Farsight Security
    * the CIRCL pDNS server at Computer Incident Response Center (LU)

An API key is required for operation. The command syntax was inspired by a Python script called dnsdb_query, but significant departure has occurred, largely inspired by a modern understanding of “time fencing” and a desire for new features such as CSV output and JSON reprocessing.

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

sudo apt-get -y install dnsdbq

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

You can also use apt command to install dnsdbq.

sudo apt -y install dnsdbq

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

sudo aptitude install dnsdbq

Summary

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