mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-03 20:07:36 +03:00
Add support for client-subnet
DNS options
This commit is contained in:
parent
0517ceef76
commit
f24a2aed7d
18 changed files with 316 additions and 140 deletions
|
@ -86,6 +86,7 @@ type DNSRule interface {
|
|||
Rule
|
||||
DisableCache() bool
|
||||
RewriteTTL() *uint32
|
||||
ClientSubnet() *netip.Addr
|
||||
WithAddressLimit() bool
|
||||
MatchAddressLimit(metadata *InboundContext) bool
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue