ODVR

CZ.NIC ODVR are Open DNSSEC Validating Resolvers that you might freely use instead of the standard DNS resolvers offered by your Internet service provider.

What is DNS and DNSSEC?

For more information visit pages About Domains and DNS and About DNSSEC .

How to setup CZ.NIC resolvers?

Change your network configuration so that it uses resolvers with IP addresses 193.17.47.1 and 185.43.135.1. If your network connection supports the IPv6 protocol, you can also add IPv6 addresses 2001:148f:ffff::1 and 2001:148f:fffe::1.

How to turn on DNS-over-TLS (DoT)

The DoT protocol protects communication between client and DNS resolver by means of TLS encryption and listens on port TCP/853. To set DoT, you can use for example the stub resolver Stubby . There are installation packages for Linux, Windows and macOS.

  1. First, you need to configure Stubby. You can do it in file /etc/stubby/stubby.yml on Linux or C:Program FilesStubbystubby.xml on MS Windows.

  2. Insert configuration

    resolution_type: GETDNS_RESOLUTION_STUB dnssec_return_status: GETDNS_EXTENSION_TRUE dns_transport_list: - GETDNS_TRANSPORT_TLS tls_authentication: GETDNS_AUTHENTICATION_REQUIRED tls_query_padding_blocksize: 128 edns_client_subnet_private : 1 idle_timeout: 10000 listen_addresses: - 127.0.0.1 - 0::1 round_robin_upstreams: 1 upstream_recursive_servers: #IPv4 ODVR - address_data: 193.17.47.1 tls_auth_name: "odvr.nic.cz" - address_data: 185.43.135.1 tls_auth_name: "odvr.nic.cz" #IPv6 ODVR - address_data: 2001:148f:ffff::1 tls_auth_name: "odvr.nic.cz" - address_data: 2001:148f:fffe::1 tls_auth_name: "odvr.nic.cz"
  3. Start the Stubby service

  4. On Linux via systemd - "systemctl start stubby“

  5. On MS Windows so far manually from the command line - "C:Program FilesStubbystubby.exe -l“ (IT developers promise to run it as a service in the future).

  6. Finally, you need to change the DNS resolvers in the network setting to "127.0.0.1“ or "::1“. See the previous chapters for details.

You can then verify that you are communicating with ODVR in a secure way, by means of the tcpdump tool on Linux or wireshark on Windows with an active filter "host odvr.nic.cz and port 853“

How to turn on DNS-over-HTTPS (DoH)

The DoH protocol, the same as DoT, protects communication between client and DNS resolver by means of TLS encryption, but in this case on port TCP/443. Another difference is that it is used directly in the web browser and there is no need to install and configure additional services. You can try the DoH protocol in Firefox from version 62, Chrome from version 66 or Bromite from version 67.

Setting up directly in Firefox is very simple.

  1. Go to settings – three horizontal lines in the bar in the top right corner, select Preferences and then scroll down to the Network settings section and click the Settings button.

  2. Check the Turn on DNS over HTTPS check-box and enter "https://odvr.nic.cz/dns-query“ into the own field.

  3. Alternatively, it is possible to activate DoH even in the advanced settings „about:config“ by searching for a string „network.trr“.

You can then verify whether you are actually communicating with ODVR in a secure way, using the tcpdump tool on Linux or wireshark on Windows with the active filter "host odvr.nic.cz and port 443“

In Chrome (currently only on OS Windows and on Android mobile platform of certain manufacturers), you can set up using DoH on ODVR via settings:

  1. Go to settings (three dots in the top-right corner), select Privacy and security in the left menu and then select Security to get to the Safe Browsing section.

  2. Go to Advanced and enable the Use secure DNS option and then choose CZ.NIC ODVR from the With combo-box.

A shortcut to this setting is entering chrome://settings/security in the browser‘s address bar.

You can then verify whether you are actually communicating with ODVR in a secured way using the tcpdump tool on Linux or the Wireshark tool on Windows with active filter "host odvr.nic.cz and port 443“.

DNS-over-HTTPS supports only the HTTP/2 protocol.

FAQ

Resolver usage test

Due to the character of the test, it can take up to tens of seconds to finish.

Test results:

Start test

Running the test repeatedly can return the same results despite making changes in the settings of the router or the system (due to the browser‘s or system‘s DNS cache). Therefore, you should try to run the test using another browser or after some time.