Add dns.cache_capacity

This commit is contained in:
世界
2024-11-20 13:55:37 +08:00
parent b9fd1bce81
commit bcc24ab2e3
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"`
}