@@ -37,11 +37,17 @@ sourcedirs = [
37
37
" sources"
38
38
]
39
39
40
- # location of the log file
41
- log = " grimd.log"
42
-
43
- # what kind of information should be logged, 0 = errors and important operations, 1 = dns queries, 2 = debug
44
- loglevel = 0
40
+ # log configuration
41
+ # format: comma separated list of options, where options is one of
42
+ # file:<filename>@<loglevel>
43
+ # stderr>@<loglevel>
44
+ # syslog@<loglevel>
45
+ # loglevel: 0 = errors and important operations, 1 = dns queries, 2 = debug
46
+ # e.g. logconfig = "file:grimd.log@2,syslog@1,stderr@2"
47
+ logconfig = " file:grimd.log@2,stderr@2"
48
+
49
+ # apidebug enables the debug mode of the http api library
50
+ apidebug = false
45
51
46
52
# address to bind to for the DNS server
47
53
bind = " 0.0.0.0:53"
@@ -56,7 +62,7 @@ nullroute = "0.0.0.0"
56
62
nullroutev6 = " 0:0:0:0:0:0:0:0"
57
63
58
64
# nameservers to forward queries to
59
- nameservers = [" 8.8.8.8 :53" , " 8.8.4.4 :53" ]
65
+ nameservers = [" 1.1.1.1 :53" , " 1.0.0.1 :53" ]
60
66
61
67
# concurrency interval for lookups in miliseconds
62
68
interval = 200
@@ -88,6 +94,9 @@ togglename = ""
88
94
# If not zero, the delay in seconds before grimd automaticall reactivates after
89
95
# having been turned off.
90
96
reactivationdelay = 300
97
+
98
+ # Dns over HTTPS provider to use.
99
+ DoH = " https://cloudflare-dns.com/dns-query"
91
100
```
92
101
93
102
# Building
0 commit comments