feat(local): local-dns client_cache_size set default when creating server instance

This commit is contained in:
zonyitoo
2023-09-23 15:25:47 +08:00
parent 0c5f693e9a
commit 09c6b23f34
3 changed files with 12 additions and 3 deletions

View File

@@ -596,7 +596,9 @@ Example configuration:
// Remote DNS address, DNS queries will be sent through ssserver to this address
"remote_dns_address": "8.8.8.8",
// OPTIONAL. Remote DNS's port, 53 by default
"remote_dns_port": 53
"remote_dns_port": 53,
// OPTIONAL. DNS Client Cache (TCP & UDP sockets)
"client_cache_size": 5
},
{
// Tun local server (feature = "local-tun")