Add dns.cache_capacity

This commit is contained in:
世界
2024-11-14 12:42:42 +08:00
parent d1eff7fcca
commit 5139e5232e
6 changed files with 44 additions and 7 deletions

View File

@@ -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"`
}