Closed kaechele closed 1 month ago
I've tested this both on my use case (as described in #2085) and an actual blocked domain on Quad9.
My use-case now works correctly with this change.
The results for the blocked domain are also as expected:
Thank you!
@pi-hole/ftl-maintainers we need to fix not deploying for builds from foreign repositories.
Overwriting failed checks, this is independent and will be fixed by #2088
Thanks for the review and merge!
What does this PR aim to accomplish?:
Only consider NXDOMAIN replies as indication of external blocking if both the RA and AA bit are unset. This fixes #2085.
How does this PR accomplish the above?:
When analyzing the DNS packet header we now also check for the absence of the AA bit in addition to the absence of the RA bit.
Link documentation PRs if any are needed to support this PR:
N/A
By submitting this pull request, I confirm the following:
git rebase
)