-
Notifications
You must be signed in to change notification settings - Fork 116
Description
Originally posted & quoting from #2798 (comment) onwards:
Another glitch: When using a hosts subscription for DNS-block, pref.dns.blocking.nxdomain (tried because of discussion in #1582) seems to be ineffective for domains set to ::, 127.0.0.1, or 0.0.0.0 — those don't get NXDOMAIN response per AG log.
@TPS, hi!
Looks like there is a mistake in description forpref.dns.blocking.nxdomain. NXDomain should be generated for regular filtering rules, not host rules. Thank you for the feedback, I'll fix this phrase.
Hosts subscriptions already indicate the IP address that needs to be returned
That makes sense when using hosts as originally intended, but adblockers don't do that. I suppose if y'all want to support the former (as rare as that might be), that'd be fine, but isn't the major use by AG purely adblock? Then wouldn't it make sense to be consistent in the DNS-based blocking behavior, especially for an advanced toggle which (currently) isn't the default behavior?