Add AdGuard DNS filter support

This commit is contained in:
世界
2024-09-13 10:10:05 +08:00
parent 6dee460f6e
commit fc8faa95dd
9 changed files with 723 additions and 0 deletions
+3
View File
@@ -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 {