I'm having problems with «$dnstype=~CNAME» #4230
Replies: 2 comments 4 replies
-
Well, that's not how On the other hand, your problem seems absolutely valid to me. When evaluating response records, we should pass the record type, not the question type, to the filtering engine. @ainar-g this should probably be categorized as enhancement, not a bug report. We'll also need to update the documentation as well. |
Beta Was this translation helpful? Give feedback.
-
@DandelionSprout, hello again. We've just pushed the edge build that should consider record types of responses instead of a question while filtering the response. Could you please check, if it works properly? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
As good as I usually am with adblocker tools' syntaxes, I've encountered a fairly big problem where

$dnstype=~CNAME
isn't being recognised properly:There's a lot of double negatives that are probably confusing me, but I thought
||example.org^$dnstype=~CNAME
means that a domain is not blocked by CNAME or IP, and is only blocked when the domain itself is being requested. What am I missing out on here?Beta Was this translation helpful? Give feedback.
All reactions