summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <m.shulhan@gmail.com>2020-09-07 03:43:14 +0700
committerShulhan <m.shulhan@gmail.com>2020-09-07 03:43:14 +0700
commitb3070179136dbfc9f8e21c0073911e48de729216 (patch)
tree7fce03866c9ac75446b629df6232354cf8b1d412
parent809e34bb6520597500cd92ae35734eec698bffb0 (diff)
downloadrescached-b3070179136dbfc9f8e21c0073911e48de729216.tar.xz
rescached.cfg.test: add configuration to test in development
-rw-r--r--cmd/rescached/rescached.cfg.test45
1 files changed, 45 insertions, 0 deletions
diff --git a/cmd/rescached/rescached.cfg.test b/cmd/rescached/rescached.cfg.test
new file mode 100644
index 0000000..d3efc95
--- /dev/null
+++ b/cmd/rescached/rescached.cfg.test
@@ -0,0 +1,45 @@
+##
+## Rescached configuration.
+##
+## See rescached.cfg(5) for description of each options.
+##
+
+[rescached]
+file.resolvconf=
+debug=3
+wui.listen = 127.0.0.1:5381
+
+hosts_block = http://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=0&startdate[day]=&startdate[month]=&startdate[year]=&mimetype=plaintext
+hosts_block = http://www.malwaredomainlist.com/hostslist/hosts.txt
+hosts_block = http://winhelp2002.mvps.org/hosts.txt
+hosts_block = http://someonewhocares.org/hosts/hosts
+
+[dns "server"]
+#parent=udp://18.136.35.199
+#parent=tcp://18.136.35.199
+## DNS over TLS
+parent=https://18.136.35.199
+## DNS over HTTPS
+#parent=https://kilabit.info/dns-query
+
+listen = 127.0.0.1:5350
+## Uncomment line below if you want to serve DNS to other computers.
+#listen = 0.0.0.0:53
+
+#http.port = 443
+http.port = 0
+
+#tls.port = 853
+tls.port = 0
+
+#tls.certificate = /etc/rescached/localhost.cert.pem
+tls.certificate =
+
+#tls.private_key = /etc/rescached/localhost.key.pem
+tls.private_key =
+
+tls.allow_insecure = true
+doh.behind_proxy = false
+
+cache.prune_delay = 1h0m0s
+cache.prune_threshold = -1h0m0s