AdguardTeam / AdguardTeam/AdGuardDNS

Do not use 0.0.0.0 as response for adblocked domains

Abierto
#60 6 comentarios 0 reacciones 1 asignado Reclamado por @Chinaski1 Ver en GitHub
Priority: P4 question
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.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.