How to use DNS-over-TLS with Stubby?

Following the announcement of DNS over TLS for Google DNS (, we examine how to configure DNS-over-TLS on our computers by using Stubby.

First, let’s install Stubby from the Ubuntu 18 software repository;

sudo apt install stubby

Stubby will start working directly with pre-defined configuration. To add Google DNS, add the following lines to the configuration file;

# Google
- address_data:
  tls_auth_name: ""
- address_data:
  tls_auth_name: ""

After making sure that Stubby listens port 53, we can start using cryptic DNS by changing the DNS definition to in our network settings.

sudo netstat -lnptu | grep stubby

Bir cevap yazın