summaryrefslogtreecommitdiff
path: root/net/spoofdpi/files/spoofdpi.toml.sample
blob: 36ce94dbded72ca452e8d72a4d982e6099d3205e (plain) (blame)
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
[general]

# Available values are debug, trace, info, warn, error, and disabled. (default: "info")
log-level = "info"

# Don't print banner
silent = true

# This option is currently only supported on macOS.
system-proxy = false

[server]

# If you want to run SpoofDPI remotely (e.g., on a physically separated machine), then you should set this value
# to 0.0.0.0. Otherwise, it is recommended to leave this option as default.
listen-addr = "127.0.0.1:8080"

[dns]

# available options: udp/https/system (default: "udp")
mode = "https"

# DNS address and port number
# this is used when dns-mode is set to udp.
addr = "8.8.8.8:53"

# This is used when dns-mode is set to https.
https-url = "https://dns.google/dns-query"

# Filters DNS queries by record type (A for IPv4, AAAA for IPv6).
# Available values are "ipv4", "ipv6", and "all".
# If your Internet Service Provider (ISP) doesn't support IPv6, it is recommended to set this option to "ipv4" for stability.
qtype = "all"

# If true, DNS records will be cached to improve performance and reduce latency.
cache = false