The Regex Filter for Whitelist and Blacklist not working correctly

Hello,

I'm having a Rspberry Pi with the following versions installed:

  • Pi-hole [v5.11.4]
  • FTL [v5.16.3]
  • Web Interface [v5.13]

and I have the following issues:

  1. When adding a domain name into the Whitelist OR into the Blacklist, the Wildcard functionality does not work properly, thus the subdomains are still working unless I'm adding those too into the Whitelist or into the Blacklist.
    example:
    Added superbet.ro domain name to the Blacklist as wildcard resulting in (\.|^)superbet\.ro$ added and when accessing the lp.superbet.ro subdomain, is still accessible and will be opened in browser.
    If I add also the lp.superbet.ro also as Wildcard only then, I'm seeing it blocked and not found when accessed.

Can someone please look into the behavior and on the functionality of the Wildcard checkbox and fix the syntax so when I'm checking the wildcard of a domain, to be fully blocked?

Thanks.
Arthur

Run from a client, what's the output of:

nslookup pi.hole
nslookup superbet.ro
nslookup lp.superbet.ro

Please upload a debug log and post just the token URL that is generated after the log is uploaded by running the following command from the Pi-hole host terminal:

pihole -d

or do it through the Web interface:

Tools > Generate Debug Log

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.