-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blocking mode does not seem to work correctly (NX Domain) #1284
Comments
Same here |
Yeah, that's the default behavior AGH was using from the very beginning. The setting name is simply wrong, though. We should have called it "Default" and add a different option that will force NXDOMAIN for all types of rules. |
Why do we need this behaviour? |
@szolin here is the final list:
|
Is this targeted for a particular release to get fixed? |
@kungpao42 yep, it's assigned to v0.101 and it's the next major update. |
Prerequisites
Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
Issue Details
0.100.5 *
IoT *
Raspberry Pi *
Dietpi 6.26.3 *
Expected Behavior
In NX Domain mode, I would expect all answers from Adguard Home (matching hostnames/domains) to respond with NX Domain.
In Null IP mode, I would expect to see the response in the form of an A/AAAA record as 0.0.0.0.
Actual Behavior
In selecting blocking mode under DNS Settings, I would expect the following behavior:
What I notice happens in actuality is this.
In NX Domain mode AGH will respond with NX Domain if the blocklist source for that match does not have an IP associated with it on the same line. If the blocklist source does have an IP address, then AGH will respond with that IP with a TTL of 10. Thus theip specified in the blocklist is passed onward (ie 0.0.0.0 or 127.0.0.1) in most cases.
Obviously, this should probably not be the case. I have not tested this behavior in Null IP mode, to see whether or not all IP addresses are standarized to 0.0.0.0.
Screenshots
Screenshot:
Additional Information
The text was updated successfully, but these errors were encountered: