From b3070179136dbfc9f8e21c0073911e48de729216 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Mon, 7 Sep 2020 03:43:14 +0700 Subject: rescached.cfg.test: add configuration to test in development --- cmd/rescached/rescached.cfg.test | 45 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 cmd/rescached/rescached.cfg.test 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 -- cgit v1.3