GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Local DoH Local DoH
Frank Denis edited this page
In addition to responding to standard DNS queries, In particular, this means that Firefox can be configured to use it, so that it will accept to enable ECH (previously known as ESNI) without bypassing your DNS proxy. In order to enable this, the first thing you need is a self-signed certificate. Since this is just for local usage, you can use that example one or create your own with: openssl req -x509 -nodes -newkey rsa:2048 -days 5000 -sha256 -keyout \ localhost.pem -out localhost.pem Generating the TLS key requires answering a couple of questions (for example, Next, edit [local_doh] listen_addresses = ['127.0.0.1:3000'] path = "/dns-query" cert_file = "localhost.pem" cert_key_file = "localhost.pem" The path to the Now, Firefox allows you to bypass warnings about self-signed certificates using the method described above. However, other browsers (Chrome/Chromium, Edge, Safari, etc.) prevent you from using DoH with an invalid certificate. Generally, you can create a local certificate authority (CA) and validate your self-signed certificate, but this process may be tedious and varies from system to system. With
Restart It is possible, but not recommended, to configure [local_doh] listen_addresses = ['123.456.789.1:3000'] path = "/dns-query" cert_file = "fullchain.pem" cert_key_file = "privkey.pem"
Firefox and Cloudflare used to be running an experiment called ESNI. ESNI was an obsolete predecessor of ECH (Encrypted ClientHello), a TLS extension to hide the server name in TLS (including HTTPS) connections. ECH is now standardized as RFC 9849, but deployment is still limited. Firefox ECH support was implemented in Firefox 85 in exchange for ESNI, which is no longer supported. While this may eventually be a significant privacy improvement, ECH currently has some caveats to be aware of:
Firefox has a setting to enable ECH, but for some unexplained reasons, the web browser ignores it unless it was also configured to bypass your DNS settings. However, After having set up the The first time, the web browser will notice that the certificate is self-signed and complain about it. This is expected. Click "Advanced" and "I accept the risks". This is okay, you are only going to connect to your own machine. Without the above step, TLS handshakes will fail and Next, type
You can finally check if the Firefox+Cloudflare ECH experiment is enabled here (don't pay attention to the "Secure DNS" column, the green mark will only be shown when using Cloudflare). Note that this test page was built for ESNI and doesn't yet detect ECH. Note that the actual resolvers don't have to be Cloudflare's, and don't have to use the DoH protocol either. ECH is compatible with DNSCrypt and Anonymized DNSCrypt. In order to revert the changes, set The Local DoH hack is not required with Chrome. However, this still requires using Cloudflare as a resolver. Some versions of Chrome enable ECH by default, others don't. This is something you can manually set by typing Enabling As of today, support is still limited, mostly on Cloudflare-enabled sites participating in the experiment.
Clone this wiki locally |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |