mirror of
https://github.com/shadowsocks/shadowsocks-rust.git
synced 2026-02-09 01:59:16 +08:00
Introduce dns-cache-size option in README
This commit is contained in:
@@ -672,6 +672,8 @@ Example configuration:
|
|||||||
//
|
//
|
||||||
// The field is only effective if feature "trust-dns" is enabled.
|
// The field is only effective if feature "trust-dns" is enabled.
|
||||||
"dns": "google",
|
"dns": "google",
|
||||||
|
// Configure `cache_size` for "trust-dns" ResolverOpts. Set to "0" to disable DNS cache.
|
||||||
|
"dns_cache_size": 0,
|
||||||
|
|
||||||
// Mode, could be one of the
|
// Mode, could be one of the
|
||||||
// - tcp_only
|
// - tcp_only
|
||||||
|
|||||||
Reference in New Issue
Block a user