-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdns-proxy.yaml.example
More file actions
62 lines (56 loc) · 1.04 KB
/
Copy pathdns-proxy.yaml.example
File metadata and controls
62 lines (56 loc) · 1.04 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
server:
listen:
- 0.0.0.0:5353
compress: true
upstream:
timeout: 10
keep_alive: 60
buffer_size: 4096
pool_size: 1024
max_attempts: 3
disable_ipv6: false
skip_tls_verify: true
## Available Values for Mode
## udp, tcp, dot, doh
mode: dot
domain: family.cloudflare-dns.com
addresses:
- 1.1.1.3:853
- 1.0.0.3:853
doh:
query_path: /dns-query
idle:
max_conn: 100
per_host: 20
cache:
size: 10000
shards: 256
min_ttl: 60
neg_ttl: 1
bogus-nxdomain:
enable: false
ips:
- 0.0.0.0
edns:
enable: false
ipv4_mask: 24
ipv6_mask: 56
local:
enable: false
use_hosts_file: false
custom_hosts_file: /etc/hosts
## Can use include_files for more managed configuration
# include_files:
# - conf.d/local-*.yaml
static_records:
- domain: example.com
ip: 127.0.0.1
forwarder:
enable: false
## Can use include_files for more managed configuration
# include_files:
# - conf.d/forwarder-*.yaml
rules:
- domain: example.com
upstreams:
- 127.0.0.1:53