dns

DNS client and server implementations using the Go project's dnsmessage package
Log | Files | Refs | README | LICENSE

README.md (778B)


      1 dohproxy is a basic DNS over HTTPS (DoH) server. It forwards all DNS queries to an upstream resolver via plain DNS or DNS over TLS (DoT), and returns the response to the DoH client.
      2 
      3 dohproxy listens on the standard HTTPS port (443) with certificates automatically requested from Let's Encrypt via ACME. DoH requests are made to the standard path `/dns-query`.
      4 
      5 The latest version of dohproxy is running at https://syd.olowe.co.
      6 You can test the server by using the `--doh-url` flag of `curl`(1):
      7 
      8 	curl --doh-url https://syd.olowe.co/dns-query http://www.example.com
      9 
     10 # Build
     11 
     12 No make. Just use the standard go tools:
     13 
     14 	go build
     15 
     16 # Test
     17 
     18 Run:
     19 
     20 	go test
     21 
     22 # Documentation
     23 
     24 The [dohproxy documentation](https://man.sr.ht/~otl/dns-docs/dohproxy) contains
     25 details on configuration.