-
-
Notifications
You must be signed in to change notification settings - Fork 196
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
Extend regex extension ;querytype=... #1527
Conversation
…abc;querytype=HTTPS,SVCB" Signed-off-by: DL6ER <[email protected]>
Signed-off-by: DL6ER <[email protected]>
…A,MX). You can use the exclamation mark as before for inversion (querytype=!A) matches everything BUT type A queries. This has now been extended to be able to invert a list, too (like (querytype=!A,AAAA matches everything BUT A and AAAA queries) Signed-off-by: DL6ER <[email protected]>
This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there: https://discourse.pi-hole.net/t/whitelist-always-wins/60477/9 |
Pi-hole version is v5.15.3 (Latest: v5.15.3) Tested this branch, my comments here. Everything appears to be working as expected. |
Is |
Well, not exactly. It means everything else not listed here (without the "also"). Pi-hole has Note that since some versions ago, the Query Log won't actually show |
This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there: https://discourse.pi-hole.net/t/pi-hole-ftl-v5-21-web-v5-18-4-and-core-v5-15-4-released/61096/1 |
What does this implement/fix?
;querytype=...A
accepts now also a list (like;querytype=A,AAAA,MX
). You can use the exclamation mark as before for inversion (querytype=!A
) matches everything BUT typeA
queries. This has now been extended to be able to invert a list, too (like;querytype=!A,AAAA
matching everything BUTA
andAAAA
queries).Related issue or feature (if applicable): N/A
Pull request in docs with documentation (if applicable): TODO, extend description of Pi-hole regex extensions at https://docs.pi-hole.net/regex/pi-hole/#only-match-specific-query-types
By submitting this pull request, I confirm the following:
git rebase
)Checklist:
developmental
branch.