-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Fix edge-case where an adlist domain is blocked #5571
Conversation
…local before and was not passed as argument, making gravity currently depend on undefined behavior. It seems to be working well in the vast majority of cases, however, it seems we have at least one report where it is not working. Signed-off-by: DL6ER <dl6er@dl6er.de>
…g dns.upstreams instead Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: DL6ER <dl6er@dl6er.de>
…not a local file or empty Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: DL6ER <dl6er@dl6er.de>
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Tested on a container with `` Added
|
@DL6ER can you rebase this one please? I have tried locally, but not 100% sure I did it right... |
Signed-off-by: DL6ER <dl6er@dl6er.de>
Done (albeit merge, not rebase) |
Conflicts have been resolved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[i] Target: https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
[✗] Status: raw.githubusercontent.com is blocked by one of your lists. Using DNS server 8.8.8.8 instead
[✓] Status: Retrieval successful
[✓] Parsed 178072 exact domains and 0 ABP-style domains (blocking, ignored 1 non-domain entries)
Sample of non-domain entries:
- 0.0.0.0
[i] List stayed unchanged
What does this implement/fix?
Related discussion was going on on Discourse here.
This branch was forgotten about but still applies cleanly on
development-v6
- it fixes the edge-case handling of an adlist domain being blocked by Pi-hole and - if so - using an external resolver (to be precise, the first ofdns.upstreams
) instead.Related issue or feature (if applicable): N/A
Pull request in docs with documentation (if applicable): N/A
By submitting this pull request, I confirm the following:
git rebase
)Checklist:
developmental
branch.