diff options
Diffstat (limited to 'net/spoofdpi/files/spoofdpi.toml.sample')
| -rw-r--r-- | net/spoofdpi/files/spoofdpi.toml.sample | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/net/spoofdpi/files/spoofdpi.toml.sample b/net/spoofdpi/files/spoofdpi.toml.sample new file mode 100644 index 000000000000..36ce94dbded7 --- /dev/null +++ b/net/spoofdpi/files/spoofdpi.toml.sample @@ -0,0 +1,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 + |
