AdguardTeam / AdguardTeam/dnsproxy
Consider porting dnscrypt-proxy's blocked_names feature to dnsproxy.
- Lenguaje dominante
- Go
- Estrellas
- 3.3k
- Forks
- 343
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- go
- Área
- networking
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 50/100