middleware/httpproxy: Add (#439)

This PR adds a middleware that talks to dns.google.com over HTTPS,
meaning all your DNS traffic is encrypted when traversing your ISP and
the internet.

The `dns.google.com` address is re-resolved every 30 seconds.
This commit is contained in:
Miek Gieben
2016-11-26 17:57:22 +00:00
committed by GitHub
parent f8b9332265
commit 96222927a3
13 changed files with 731 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
package httpproxy
// TODO(miek):
// Test cert failures - put those in SERVFAIL messages, but attach error code in TXT
// Test connecting to a a bad host.