Repository navigation
Expand file tree
/
Copy pathdnsproxy.yaml
More file actions
73 lines (59 loc) · 1.88 KB
/
Copy pathdnsproxy.yaml
File metadata and controls
73 lines (59 loc) · 1.88 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
---
LogLevel: "Info"
DebugMode: false
# Configs for DNS Proxy Server
DNSServer:
# Address to bind for DNS server
BindAddr: "0.0.0.0:53"
# NDS Resolver used in server
Resolver:
# nameservers to forward queries to
Nameservers:
- "8.8.8.8:53"
- "8.8.4.4:53"
# response to blocked queries with a NXDOMAIN
NXDomainOnBlock: false
# concurrency interval for lookups in miliseconds
Interval: 200
# query timeout for dns lookups in seconds
Timeout: 5
# cache entry lifespan in seconds
TTL: 600
# Hosts file for resolve manual defined domains. Supports wildcard
Hosts:
Enable: true
HostsFile: /etc/hosts
RefreshInterval: 900
# Dns over HTTPS provider to use.
DoH:
Enable: false
Endpoint: "https://doh.opendns.com/dns-query"
# Setup API server with WebGUI
APIServer:
Enable: true
BindAddr: "127.0.0.1:3000"
# DNS Blocker
Blocker:
Enable: true
# list of sources to pull blocklists from, stores them in ./sources
SourceURLs:
- Name: "malwaredomains"
URL: "https://mirror1.malwaredomains.com/files/justdomains"
- Name: "StevenBlack"
URL: "https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts"
- Name: "sysctl.org"
URL: "https://sysctl.org/cameleon/hosts"
- Name: "disconnect.me.tracking"
URL: "https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt"
- Name: "disconnect.me.ad"
URL: "https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt"
- Name: "quidsup.notrack-blocklist"
URL: "https://gitlab.com/quidsup/notrack-blocklists/raw/master/notrack-blocklist.txt"
# list of locations to recursively read blocklists from (warning, every file found is assumed to be a hosts-file or domain list)
SourceDir: "/tmp/dnsproxy-blackhole"
# manual blocklist entries
# Blocklist:
# manual whitelist entries
Whitelist:
- "getsentry.com"
- "www.getsentry.com"