blob: 4fbde64cc5e68e721fc84575189bb9d83f43e1ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
[server]
listen_udp = ":53"
listen_tcp = ":53"
listen_doh = ":8443"
listen_dot = ":853"
[cache]
max_entries = 100000
db_path = "/tmp/cache.db"
[resolver]
mode = "forward"
timeout = "2s"
max_delegations = 30
forwarders = ["1.1.1.1"]
[blocklist]
response = "zero_ip"
files = ["/etc/linum/blocklist/*.txt"]
#urls = [
# "https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts",
#]
[admin]
listen = "127.0.0.1:8080"
[acl]
allow = ["127.0.0.1/8", "::1/128"]
rate_limit_qps = 50
rate_limit_burst = 10
[tls]
cert = "/tmp/linum-cert.pem"
key = "/tmp/linum-key.pem"
[log]
level = "info"
|