zoneserver command not found

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

Introduction

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

zoneserver: command not found

or when using sudo you get the following error message

sudo: zoneserver: command not found

Solutions to zoneserver: command not found

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

In Ubuntu zoneserver is provided by maradns-zoneserver package.

maradns-zoneserver is:

The MaraDNS zoneserver listens on port 53/tcp and handles DNS zone transfers and any DNS query done over TCP instead of UDP. It uses the same configuration file as the MaraDNS process itself.

This package also includes askmara-tcp, a version of askmara that uses TCP rather than UDP.

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

sudo apt-get -y install maradns-zoneserver

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

You can also use apt command to install maradns-zoneserver.

sudo apt -y install maradns-zoneserver

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

sudo aptitude install maradns-zoneserver

Summary

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