Radoslaw Smigielski

13 September 2018

DNS over HTTPS (DoH)

by Radosław Śmigielski

Why?

Don’t let your ISP to track your DNS queries.

Depends on the country you live in, your local internet provider(s) may track and record history of your DNS queries. In some countries they can keep your history up to 5 years and in some countries like in US they have a right to sell these data to third party companies, thanks to President Donald Trump.

How?

You could switch to one of the public DNS instead of using your local ISP DNS. There is few choices of public DNS servers:

Using one of above helps but your DNS queries still fly over the network unencrypted.

But there is a better way, DNS Trusted Recursive Resolver known as also as DNS over HTTPS (DoH). DNS over HTTPS (DoH) support has been added to Firefox 62 but it’s disabled by default. And at the time of writing this post. Firefox is the only browser which supports DoH.

Very good explaination of the problem and how DoH works: A cartoon intro to DNS over HTTPS

Open Firefox settings

Open below URL in address bar of Firefox

about:config

Search for network.trr.

Working configuration

TRR configuration

All TRR settings

Taken from Firefox source code modules/libpref/init/all.js

Verification

The status, highlighted column shows TRR in use. TRR verification

tags: DNS over HTTPS - Firefox - DNS - DNS Trusted Recursive Resolver