Add support for client-subnet DNS options

This commit is contained in:
世界
2024-02-12 12:20:48 +08:00
parent 1df4395dc2
commit bb7dbea854
11 changed files with 82 additions and 50 deletions
+1
View File
@@ -84,6 +84,7 @@ type DNSRule interface {
Rule
DisableCache() bool
RewriteTTL() *uint32
ClientSubnet() *netip.Addr
WithAddressLimit() bool
MatchAddressLimit(metadata *InboundContext) bool
}