DNS-over-HTTPS activation in Firefox

DNS-over-HTTPS (DoH) is currently a much-discussed feature, and the Firefox is the only one that supports it.

However, the feature is not enabled by default for Firefox users, and below we will see how to enable it.

But before we get to the driver, let's first describe what the new protocol does.

How DNS-over-HTTPS works

DNS-over-HTTPS

The DNS-over-HTTPS protocol works by taking the domain that a user typed into the browser and sending a query to a DNS server to find out the numeric IP address of the web server that hosts that particular site.

This is how regular DNS works too. However, DoH receives the DNS query and sends it to a DoH compliant DNS server (resolver) via an encrypted s HTTPS on port 443, instead of as plain text on port 53.

In this way, DoH hides DNS queries through HTTPS, so a third party who monitors your connections will not be able to invade traffic and change the DNS queries you send.

In addition, a secondary feature of DNS-over-HTTPS is that the protocol also works at application level. Applications can contain internal hardcoded lists of DoH-compatible DNS resolvers where they can send DoH queries.

This mode overrides the default DNS settings at the operating system level, which in most cases are those defined by local ISPs.

This also means that applications that support DoH can effectively bypass local ISP filters and even access to blocked content.

Here's how you can enable DNS-over-HTTPS on your Firefox until Mozilla decides to enable it by default - if it ever does.

Open the internal address about: config to access the hidden configuration panel of Firefox. Here we need to modify three settings.

The first setting is network.trr.mode. Enables DoH support. This setting supports four values:

0 - DoH is off
1 - DoH is enabled, but Firefox chooses whether to use the DoH protocol or normal DNS depending on which returns faster answers to queries.
2 - DoH is enabled and normal DNS acts as a backup
3 - DoH is enabled and normal DNS is disabled

Η 2 seems to work fine.

The second setting to be modified is network.trr.uri. This is the URL of a DoH-compatible DNS server, and Firefox will send DNS DoH queries.

By default, Firefox uses its DoH service located at

https://mozilla.cloudflare-dns.com/dns-query

However, if you have a different one you can use your own URL for a DoH server. You can choose one of the many servers available, which are on this list.

The reason why Mozilla uses Cloudflare in Firefox is because the two companies reached an agreement after which Cloudflare will collect very little data from DoH queries from Firefox users.

The third setting is optional and you can skip it. The option is called network.trr.bootstrapAddress and is an input field where you can enter the numeric IP address of a DNS-compliant DNS. Cloudflare for example has IP 1.1.1.1. Google, IP 8.8.8.8.

The above settings should work immediately, but in case they do not work, restart Firefox.

______________

iGuRu.gr The Best Technology Site in Greecefgns

every publication, directly to your inbox

Join the 2.087 registrants.

Written by giorgos

George still wonders what he's doing here ...

Leave a reply

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).