* added ODoH listener
* Implemented feedback from folbricht on odoh-listener
* added some minor security enhancements to the odoh proxy
* catch error when config load fails
* remove debugging lines
* switch back to universal "/" handler on DoH listener
* Revert "Remove ODOH due to broken dependency (#425)"
This reverts commit 8eecee85ec.
* switch back to updated version of cloudflare/odoh-go that fixes broken dependencies (#427)
---------
Co-authored-by: Leonard Walter <50204487+LeonardWalter@users.noreply.github.com>
* Revert "Fixing problems with cloudflare/odoh-go (#423)"
This reverts commit eed9ea8911.
* Revert "Support for Oblivious DNS client (#118)"
This reverts commit 72e4730046.
* Support for Oblivious DNS client
* Update to the ODoH client (#418)
* fixing context problem
* Updated the ODoH client
* allowing ODoH client to send queries without a proxy
* added missing code to load pre configured ODoH server config key
* added missing support for ODoH servers not on port 443
* Implemented feedback on ODoH client
---------
Co-authored-by: Leonard Walter <50204487+LeonardWalter@users.noreply.github.com>
* Updated the DoQ and DoH QUIC client to enable 0-RTT based on the guide from: https://quic-go.net/docs/http3/client/#using-0-rtt
* changed doq client to use DialEarly for 0-RTT support
* Added 0-RTT toggle - introduced the Use0RTT option to the configuration
* reverted the doqcliet DialEarly changes as they were not needed and had a bug.
Renamed the 0RTT toggle and updated the documentation.
* catching missconfig of 0-RTT and HTTP/2
* Add support for extended error codes in blocklist-v2
* Add EDE options to respons-blocklist and static-responder
* fix nil ptr
* simplify accessing the question
* Implement Socks5 support
* Support SOCKS5 for DoT
* Socks5 for DoH
* Return interface, not nil pointer of specific type
* Support resolving DNS server names locally instead of through the proxy
* Resolve IP4 only
* Fix go.mod after rebase
* Support LocalAddr directly in the SOCKS5 dialer
* Update docs for SOCKS5
* Implement memory backend with persistence
* Save cache on SIGTERM
* Write to disk in an interval
* Also store expiry in cach file
---------
Co-authored-by: Charles Porth <charlieporth1@gmail.com>
* New element to log queries via syslog
* Replace syslog library
* fix query type/name order and add id
* option to log responses as well
* Fix log line and add log-request option
* Add query ID and answer numbers
* Fix format strings
* Synthesize NODATA state
* Add qtype to failed or empty responses
* Add docs
* Verbose option to log response types that weren't queries
* Support retry on truncation
* Fix port in example
* Use Msg.Truncate() instead of comparing length
* Don't cache truncated responses and update examples
* Replace test.com with example.com