Add dns.cache_capacity

This commit is contained in:
世界
2025-01-13 15:14:30 +08:00
parent 9db9484863
commit effcf39469
4 changed files with 38 additions and 1 deletions
+1
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"`
}