dnss command not found

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

Introduction

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

dnss: command not found

or when using sudo you get the following error message

sudo: dnss: command not found

Solutions to dnss: command not found

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

In Ubuntu dnss is provided by dnss package.

dnss is:

dnss is a daemon for using DNS over HTTPS.

It can act as a proxy, receiving DNS requests and resolving them using DNS-over-HTTPs (DoH). This can be useful to improve DNS security and privacy on laptops and small/home networks.

It can also act as a DoH server, in case you want end to end control.

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

sudo apt-get -y install dnss

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

You can also use apt command to install dnss.

sudo apt -y install dnss

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

sudo aptitude install dnss

Summary

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