Description
Add a check that verifies whether DoH (DNS-over-HTTPS) and DoT (DNS-over-TLS) are actually working through the proxy. Users configure encrypted DNS but have no way to verify it is being used -- corporate environments often silently intercept it.
proxychains-ng issue #590 shows persistent pain. Firefox enables DoH by default but users cannot verify it works.
Codebase starting point
core/checks/dns_resolve/check.go -- DNS resolution check template
core/checks/dns_leak/check.go -- DNS leak check, shows DNS comparison pattern
core/checks/register.go -- where to register the new check
core/check/types.go -- CategoryProtocol already defined
Acceptance Criteria
Description
Add a check that verifies whether DoH (DNS-over-HTTPS) and DoT (DNS-over-TLS) are actually working through the proxy. Users configure encrypted DNS but have no way to verify it is being used -- corporate environments often silently intercept it.
proxychains-ng issue #590 shows persistent pain. Firefox enables DoH by default but users cannot verify it works.
Codebase starting point
core/checks/dns_resolve/check.go-- DNS resolution check templatecore/checks/dns_leak/check.go-- DNS leak check, shows DNS comparison patterncore/checks/register.go-- where to register the new checkcore/check/types.go--CategoryProtocolalready definedAcceptance Criteria
core/checks/dns_encryption/check.goimplementingcheck.Checkerhttps://dns.google/resolveorhttps://cloudflare-dns.com/dns-querywith a test domain, verify response1.1.1.1:853or8.8.8.8:853with TLS, send DNS querydns_resolvecore/checks/register.gocore/checks/dns_encryption/check_test.go