tinydns-data command not found

In this troubleshooting guide we learn how to fix tinydns-data command not found error message

Introduction

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

tinydns-data: command not found

or when using sudo you get the following error message

sudo: tinydns-data: command not found

Solutions to tinydns-data: command not found

How To Fix tinydns-data: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu tinydns-data is provided by tinydns package.

tinydns is:

tinydns is general-purpose DNS server that accepts iterative DNS queries from hosts around the Internet, and responds with locally configured information.

This program is used by network administrators to publish the IP addresses of their computers; this package is unlikely to be useful for regular workstation.

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

sudo apt-get -y install tinydns

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

You can also use apt command to install tinydns.

sudo apt -y install tinydns

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

sudo aptitude install tinydns

Summary

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