dns-flood-detector command not found

In this troubleshooting guide we learn how to fix dns-flood-detector command not found error message

Introduction

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

dns-flood-detector: command not found

or when using sudo you get the following error message

sudo: dns-flood-detector: command not found

Solutions to dns-flood-detector: command not found

How To Fix dns-flood-detector: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu dns-flood-detector is provided by dns-flood-detector package.

dns-flood-detector is:

This package provides the dns-flood-detector daemon.

It was developed to detect abusive usage levels on high traffic nameservers and to enable quick response in halting the use of one’s nameserver to facilitate spam. It uses libpcap (in non-promiscuous mode) to monitor incoming dns queries to a nameserver. The tool may be run in one of two modes, either daemon mode or “bindsnap” mode. In daemon mode, the tool will alarm via syslog. In bindsnap mode, the user is able to get near-real-time stats on usage to aid in more detailed troubleshooting.

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

sudo apt-get -y install dns-flood-detector

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

You can also use apt command to install dns-flood-detector.

sudo apt -y install dns-flood-detector

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

sudo aptitude install dns-flood-detector

Summary

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