AdguardTeam / AdguardTeam/AdGuardDNS

Do not use 0.0.0.0 as response for adblocked domains

Aperta
#60 6 commenti 0 reazioni 1 assegnatario Rivendicata da @Chinaski1 Vedi su GitHub
Priority: P4 question
Lingua principale
Go
Stelle
952
Fork
82
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

@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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.