Browse Source

stubby: use EDNS client-subnet privacy by default

Retain the upstream value since privacy is usually the key user motivation
for using DNS-over-TLS, and simply note that those encountering sub-optimal
routing may consider disabling the setting.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
lilik-openwrt-22.03
Tony Ambardar 6 years ago
committed by guidosarducci
parent
commit
0425d9198a
2 changed files with 4 additions and 4 deletions
  1. +3
    -3
      net/stubby/files/README.md
  2. +1
    -1
      net/stubby/files/stubby.yml

+ 3
- 3
net/stubby/files/README.md View File

@ -20,10 +20,10 @@ This package has some modifications that makes it differ from the default upstre
### General Cleanup
Comments are removed, etc.
### EDNS Client-Subnet Option Changed to 0
### EDNS Client-Subnet Option
The value of "edns_client_subnet_private" is '1' in the upstream default config. This informs the upstream resolver to NOT forward your connection's IP to any other upstream servers. This is good for privacy, but could result in sub-optimal routing to CDNs, etc.
To give a more "comparable" DNS experience similar to google/opendns, this package disables this option.
We retain the upstream value since privacy is a key user motivation for using DNS-over-TLS, but note users encountering poor routing may consider changing it.
### Default Listening Ports Changed
The value of "listen_addresses" in the default config does not list port numbers, which will cause stubby to default to port 53. However, Openwrt defaults to dnsmasq as the main name server daemon, which runs on port 53. By setting the listening ports to non-standard values, this allows users to keep the main name server daemon in place (dnsmasq/unbound/etc.) and have that name server forward to stubby.
@ -43,4 +43,4 @@ Cloudflare is an Anycast DNS service. This should take care of any needed "failo
Most of the default resolvers for stubby are in Europe. To provide a better experience for a larger number of users, this package defaults to using Cloudflare's DNS service. Cloudflare's DNS service has been ranked number one in speed against many other top resolvers.
https://developers.Cloudflare.com/1.1.1.1/commitment-to-privacy/
https://www.dnsperf.com/dns-resolver/1-1-1-1
https://www.dnsperf.com/dns-resolver/1-1-1-1

+ 1
- 1
net/stubby/files/stubby.yml View File

@ -9,7 +9,7 @@ tls_authentication: GETDNS_AUTHENTICATION_REQUIRED
tls_query_padding_blocksize: 128
edns_client_subnet_private : 0
edns_client_subnet_private : 1
round_robin_upstreams: 0


Loading…
Cancel
Save