Thomas Gosteli
f2f5b5a1cc
feat(forward): add doh support ( #8004 )
...
* chore(pkg/proxy): prepare for DoH implementation
Signed-off-by: Thomas Gosteli <thomas.gosteli@protonmail.ch >
* chore(pkg/proxy): prepare for DoH implementation
Signed-off-by: Thomas Gosteli <thomas.gosteli@protonmail.ch >
* feat(proxy): implement basic DoH resolution
Signed-off-by: Thomas Gosteli <thomas.gosteli@protonmail.ch >
* feat(forward): implement DoH forwarding
Signed-off-by: Thomas Gosteli <thomas.gosteli@protonmail.ch >
* feat(proxy): add basic DoH health checker
Signed-off-by: Thomas Gosteli <thomas.gosteli@protonmail.ch >
* chore: align http transport with Go's DefaultTransport
and resolve some of the TODOs
Signed-off-by: Thomas Gosteli <thomas.gosteli@protonmail.ch >
* docs(forward): add basic documentation for DoH
Signed-off-by: Thomas Gosteli <thomas.gosteli@protonmail.ch >
* chore: add basic tests to cover DoH
Signed-off-by: Thomas Gosteli <thomas.gosteli@protonmail.ch >
* chore(health): unify default timeout to 1s
Signed-off-by: Thomas Gosteli <thomas.gosteli@protonmail.ch >
* feat(forward): make doh method configurable
Signed-off-by: Thomas Gosteli <thomas.gosteli@protonmail.ch >
* chore: remove maxIdleConnsPerHost setting & update docs
Signed-off-by: Thomas Gosteli <thomas.gosteli@protonmail.ch >
* chore(forward): reject https upstreams with path
Signed-off-by: Thomas Gosteli <thomas.gosteli@protonmail.ch >
---------
Signed-off-by: Thomas Gosteli <thomas.gosteli@protonmail.ch >
2026-06-14 17:54:05 -07:00
Ville Vesilehto
6720959b8b
lint(revive): fix unused-parameter violations ( #7980 )
2026-03-29 17:02:20 -07:00
Tom Thorogood
b541b4ea49
Use the correct root domain name in the proxy plugin's TestHealthX tests ( #6395 )
...
When packing the empty domain name, miekg/dns can end up creating
corrupt DNS messages. With some planned unpacking changes, this now
trips an error condition and causes these tests to fail. Correct this
by using the root domain explicitly as this gets correctly encoded on
the wire.
Signed-off-by: Tom Thorogood <me+github@tomthorogood.net >
2023-11-08 12:00:32 -08:00
Pat Downey
ea293da1d6
Fix forward metrics for backwards compatibility ( #6178 )
2023-07-04 16:35:55 +02:00
Pat Downey
f823825f8a
plugin/forward: Allow Proxy to be used outside of forward plugin. ( #5951 )
...
* plugin/forward: Move Proxy into pkg/plugin/proxy, to allow forward.Proxy to be used outside of forward plugin.
Signed-off-by: Patrick Downey <patrick.downey@dioadconsulting.com >
2023-03-24 08:55:51 -04:00