Add dns.cache_capacity

This commit is contained in:
世界
2024-12-10 10:31:06 +08:00
parent 6fbcd69193
commit f89d46e11f
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"`
}