aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorTony Ambardar <itugrok@yahoo.com>2018-08-07 02:23:34 -0700
committerguidosarducci <guidosarducci@users.noreply.github.com>2018-09-23 21:55:03 -0700
commit0425d9198a41c8c774e599195b59b3b931b2f9b4 (patch)
tree35119fb700641639ff533d875a14459437c7cab9 /net
parent4819fc5e6e63551444af479054deb1556353b915 (diff)
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>
Diffstat (limited to 'net')
-rw-r--r--net/stubby/files/README.md6
-rw-r--r--net/stubby/files/stubby.yml2
2 files changed, 4 insertions, 4 deletions
diff --git a/net/stubby/files/README.md b/net/stubby/files/README.md
index 14b7bbf92..38e05071f 100644
--- a/net/stubby/files/README.md
+++ b/net/stubby/files/README.md
@@ -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 \ No newline at end of file
+https://www.dnsperf.com/dns-resolver/1-1-1-1
diff --git a/net/stubby/files/stubby.yml b/net/stubby/files/stubby.yml
index 278fa2ee3..7db041966 100644
--- a/net/stubby/files/stubby.yml
+++ b/net/stubby/files/stubby.yml
@@ -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