AdguardTeam / AdguardTeam/AdGuardDNS
Do not use 0.0.0.0 as response for adblocked domains
- Lenguaje dominante
- Go
- Estrellas
- 952
- Forks
- 82
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
@iskradelta commented on [Thu Oct 17 2019](https://github.com/AdguardTeam/dnsproxy/issues/68)
Let this be a configuration option, which "ip" to return for adblocked domains, or NXERROR.
Example: node_modules/.bin/dnstls @176.103.130.130 +tls-host=dns.adguard.com googleads.g.doubleclick.net
"answers": [
{
"name": "googleads.g.doubleclick.net",
"type": "A",
"ttl": 3274,
"class": "IN",
"flush": false,
"data": "0.0.0.0"
}
This is a problem, since a client using AdGuard DNS servers above, or Firefox browser on laptop, if vising any shitty webpage or using any shitty application! They could try to connect to services running on Android phone or laptop, just because they have http://googleads.g.doucleblick.net:anyport and basically perform any kind of queries to, supposedly "local" services. This is worse since many developers think running stuff on localhost, or bound to any of their "internal" interfaces is not exposed to the internet.
When using AdGuard DNS, by default, its possible for any program to access services on localhost.
Specifying an address such as 127.6.6.6 as response, or NXERROR would fix the problem.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.