mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-03 11:57:37 +03:00
Add AdGuard DNS filter support
This commit is contained in:
parent
9dc3bb975a
commit
a9209bb3e5
9 changed files with 723 additions and 0 deletions
|
@ -166,6 +166,9 @@ type DefaultHeadlessRule struct {
|
|||
DomainMatcher *domain.Matcher `json:"-"`
|
||||
SourceIPSet *netipx.IPSet `json:"-"`
|
||||
IPSet *netipx.IPSet `json:"-"`
|
||||
|
||||
AdGuardDomain Listable[string] `json:"-"`
|
||||
AdGuardDomainMatcher *domain.AdGuardMatcher `json:"-"`
|
||||
}
|
||||
|
||||
func (r DefaultHeadlessRule) IsValid() bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue