Add support for client-subnet DNS options

This commit is contained in:
世界 committed 2024-05-21 15:12:03 +08:00
1 parent 0517ceef76
commit f24a2aed7d
18 files changed
+316 -140

No files matched your search

+1
View File
@@ -86,6 +86,7 @@ type DNSRule interface {
Rule
DisableCache() bool
RewriteTTL() *uint32
ClientSubnet() *netip.Addr
WithAddressLimit() bool
MatchAddressLimit(metadata *InboundContext) bool
}