mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-03 11:57:37 +03:00
Add dns.cache_capacity
This commit is contained in:
parent
9db9484863
commit
effcf39469
4 changed files with 38 additions and 1 deletions
|
@ -31,6 +31,7 @@ type DNSClientOptions struct {
|
|||
DisableCache bool `json:"disable_cache,omitempty"`
|
||||
DisableExpire bool `json:"disable_expire,omitempty"`
|
||||
IndependentCache bool `json:"independent_cache,omitempty"`
|
||||
CacheCapacity uint32 `json:"cache_capacity,omitempty"`
|
||||
ClientSubnet *badoption.Prefixable `json:"client_subnet,omitempty"`
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue