Skip to content

Do not use 0.0.0.0 as response for adblocked domains #60

@ameshkov

Description

@ameshkov

@iskradelta commented on Thu Oct 17 2019

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions