AdguardTeam / AdguardTeam/dnsproxy
Consider porting dnscrypt-proxy's blocked_names feature to dnsproxy.
- 主要语言
- Go
- 星标
- 3.3k
- 派生
- 343
- PR 合并指标
- 30 天内没有已合并 PR
描述
https://github.com/DNSCrypt/dnscrypt-proxy/blob/master/dnscrypt-proxy/example-blocked-names.txt
This one checks `domain name` AND `resolved CNAME`s. For example if there is "ads.com" listed:
```
target-ads.example.com CNAME cdn1.gateway.com
cdn1.gateway.com CNAME adcdn.ads.com <-----------------
adscdn.ads.com CNAME wildadservice.com
wildadservice.com A 1.2.3.4
```
Then this will return 0.0.0.0/::0.
贡献指南
这个仓库没有索引到贡献指南
调研方向
Start with the linked `dnscrypt-proxy/example-blocked-names.txt` to match expected semantics. Then inspect dnsproxy’s blocked-domain configuration and DNS query resolution path to locate where domain filtering and CNAME handling are done. Add or update focused tests around the provided ads.com/CNAME chain so the behavior returns 0.0.0.0 or ::0, and mark done when that end-to-end case is covered.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- go
- 领域
- networking
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 50/100