Tree
- Tree:
64da3997e54414cefdcb2c04826b0395658bec23- Date:
- Message:
- Use the message length field to only read that much Using io.ReadAll doesn't work properly. The socket has a queue that may be entirely drained by this call, which means we could accidentally read a bit of the next message if there is one in the queue.
| .gitignore | commits | blame |
| README | commits | blame |
| cmd/ | |
| dns.go | commits | blame |
| go.mod | commits | blame |
| go.sum | commits | blame |
README
Please don't use this yet $ cd cmd/dohproxy $ go build $ curl -v --doh-insecure --doh-url https://127.0.0.1:8080/dns-query http://www.olowe.co Adjust upstream resolver by changing `quad9` to some other address. https://blog.nlnetlabs.nl/dns-over-https-in-unbound/ https://datatracker.ietf.org/doc/html/rfc8484
