summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <m.shulhan@gmail.com>2020-09-07 03:41:35 +0700
committerShulhan <m.shulhan@gmail.com>2020-09-07 03:41:35 +0700
commit809e34bb6520597500cd92ae35734eec698bffb0 (patch)
treefd5610943d4d623178ba402a860d4c54fbc1137e
parent511e27d7d5d416db1a886da09905626b921ddaa1 (diff)
downloadrescached-809e34bb6520597500cd92ae35734eec698bffb0.tar.xz
rescached.cfg: set default parent to DNS over TLS
-rw-r--r--cmd/rescached/rescached.cfg7
1 files changed, 5 insertions, 2 deletions
diff --git a/cmd/rescached/rescached.cfg b/cmd/rescached/rescached.cfg
index 461591a..95b3de5 100644
--- a/cmd/rescached/rescached.cfg
+++ b/cmd/rescached/rescached.cfg
@@ -17,7 +17,10 @@ hosts_block = http://someonewhocares.org/hosts/hosts
[dns "server"]
#parent=udp://18.136.35.199
#parent=tcp://18.136.35.199
-parent = https://kilabit.info/dns-query
+## DNS over TLS
+parent=https://18.136.35.199
+## DNS over HTTPS
+#parent=https://kilabit.info/dns-query
listen = 127.0.0.1:53
## Uncomment line below if you want to serve DNS to other computers.
@@ -35,7 +38,7 @@ tls.certificate =
#tls.private_key = /etc/rescached/localhost.key.pem
tls.private_key =
-tls.allow_insecure = false
+tls.allow_insecure = true
doh.behind_proxy = false
cache.prune_delay = 1h0m0s