Just following that pull request, it doesn't appear to work for me. Ive made exclusions for both domains and client ip's as per formatting but it doesn't reflect on the WebUI, those domains and clients still show. Is there something I could be missing here?
I'm facing the same issue here that my local domain (with ending ".local") gets listed in the PiHole admin console as one of the faremost top domains.
In the PiHole web admin console, I have already ticked the boxes "never forward non-FQDNs" and "never forward reverse lookups for private IP ranges" under "Settings -> DNS -> Advanced DNS settings".
In addition to these settings, I have addedd the server's host name with its .local domain name in the "/etc/pihole/local.list" and "/etc/hosts" files, and have updated the "/etc/dnsmasq.conf" and "/etc/dnsmasq.d/01-pohole.conf" to include the line "local=/local/" as directive for DNSMasq to use the entries in /etc/hosts for local domain queries.
Still, even after a restart of the PiHole server, the siutation remains the same. Any other options to pursue this further?
Just to make this clear: Is this a bug or something expected you just don't want to see?
They do what they describe:
never forward non-FQDNs
This option prevents domains that are not fully qualified to be forwarded. non-FQDNs are, for example "raspberrypi" or "localhost". However, everything that has a TLD, like "laptop.local" is a FQDN and not affected by this setting.
never forward reverse lookups for private IP ranges
This option prevents the DNS server to forward reverse queries when you want to resolve, e.g., 192.168.0.123. This only makes sense as any upstream DNS server will have no idea what is with this in your network with this IP. There is only one exception and that is if you have your router as your only upstream destination and the router is handling DHCP.
Now queries to these domains don't get forwarded, but they, of course, are still accounted for.
See my post further up in this thread, a viable solution for you might be setting exclusion filters on your settings page (*.local should be supported).
Thank you for the detailled explanations given above.
And yes, double-checking again, I have also followed the suggestions outlined with the article "Be able to exclude certain domains / clients", and have modified the "/etc/pihole/setupVars.conf" file, adding the following lines:
OK, followed all above cited suggestions and I left the platform running for the last 24 hours, and it seems that the local PiHole DNS server with hostname "dnsbox.local" keeps listing itself as one of the top domains (albeit local):