Integrity requirements
Description
proxy/wireguard/client.go:353
After PR #6287, WG outbound now ignores built-in DNS server completely, and uses hard coded Cloudflare DNS for ALL domain based outbounds through WG, which is a contradiction to the documentation and a regression, because the code path right now does not respect DNS caching at all (it now uses a copied DNS resolver from upstream wireguard-go library which is very basic and feature poor) and requries for every new connection for TCP and every packet for UDP!
Reproduction Method
x
Client config
x
Server config
x
Client log
x
Server log
x
Integrity requirements
Description
proxy/wireguard/client.go:353
After PR #6287, WG outbound now ignores built-in DNS server completely, and uses hard coded Cloudflare DNS for ALL domain based outbounds through WG, which is a contradiction to the documentation and a regression, because the code path right now does not respect DNS caching at all (it now uses a copied DNS resolver from upstream wireguard-go library which is very basic and feature poor) and requries for every new connection for TCP and every packet for UDP!
Reproduction Method
x
Client config
x
Server config
x
Client log
x
Server log
x