Skip to content
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

Whitelist not working #2299

Closed
lucarp78 opened this issue Aug 17, 2022 · 1 comment
Closed

Whitelist not working #2299

lucarp78 opened this issue Aug 17, 2022 · 1 comment

Comments

@lucarp78
Copy link

Versions

Pi-hole version is v5.11.4 (Latest: v5.11.4)
AdminLTE version is v5.13 (Latest: v5.13)
FTL version is v5.16.1 (Latest: v5.16.1)

Platform

  • OS and version:
  • Linux raspberrypi 5.10.17-v7l
  • Platform:
  • Raspberry Pi

Expected behavior

If a DNS record is present in the whitelist page, but Disabled, it isn't returned... and this is right;
but if I enable it in the whitelist page then it should be returned (example nslookup of the record returns no IP)... instead it isn't.

It works only if I go in the query log page, look up for the blacklisted record and add it by clicking whitelist button.
Once added it works (the record is returned), and If I click Disabled it isn't returned, but if I enable it again (the same record added automatically by pihole) it isn't returned.
I have to go again in the query log page, and I have to add it from there.
Before to upgrade to this version it was working as expected.

Actual behavior / bug

The IP of a whitelist record enabled aren't returned.

Steps to reproduce

Choose a DNS record that usually is blacklisted from pihole, insert this record in the whitelist page, Disable it and Enable it and even if present in the whitelist the record isn't returned.
It is returned only if added from the query log page.

Debug Token

@jfb-pihole
Copy link
Member

jfb-pihole commented Aug 17, 2022

"if I enable it in the whitelist page then it should be returned (example nslookup of the record returns no IP)... instead it isn't."

Known bug. Don't use the whitelist or blacklist tabs from the admin GUI. Use the domains tab under the Group Management window to enable/disable.

#2260

@yubiuser yubiuser transferred this issue from pi-hole/pi-hole Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants