-
Notifications
You must be signed in to change notification settings - Fork 2
feat: implement dns-over-https support #318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
|
| Metric | Base | PR | Delta |
|---|---|---|---|
| Lines | 77.88% | 77.05% | 📉 -0.83% |
| Statements | 77.94% | 77.13% | 📉 -0.81% |
| Functions | 77.29% | 77.12% | 📉 -0.17% |
| Branches | 71.00% | 69.78% | 📉 -1.22% |
📁 Per-file Coverage Changes (2 files)
| File | Lines (Before → After) | Statements (Before → After) |
|---|---|---|
src/docker-manager.ts |
79.1% → 78.2% (-0.90%) | 78.4% → 77.5% (-0.85%) |
src/cli.ts |
35.5% → 36.5% (+1.01%) | 35.5% → 36.5% (+1.01%) |
Coverage comparison generated by scripts/ci/compare-coverage.ts
🔒 Security Review - PR #318I've completed a security review of the DNS-over-HTTPS implementation. Overall security posture is good, but I found one issue that should be addressed before merging.
|
Adds DNS-over-HTTPS (DoH) support to encrypt DNS queries, preventing DNS MITM attacks and enhancing privacy. Traditional UDP DNS queries can be intercepted or modified; DoH tunnels them over HTTPS.
Changes
CLI
--dns-over-https [resolver]flag with optional custom resolver URLhttps://dns.google/dns-query--allow-domainsContainer
cloudflaredin agent container as local DoH proxy127.0.0.53:53when DoH enabledTypes
dnsOverHttps?: booleananddohResolver?: stringinWrapperConfigUsage
Documentation
docs/dns-over-https.mdwith architecture, supported resolvers, and troubleshootingOriginal prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.