Pihole configuration

Adding entries to settings / API / Web interface / Top Domains / Top Advertisers adds a line to /etc/pihole/setupVars.conf (example):

API_EXCLUDE_DOMAINS=ssl.google-analytics.com,227.2.168.192.in-addr.arpa

When a lot of domains needs to be excluded, this line becomes very long and difficult to read.

Request:
Add configuration files in /etc/pihole OR table to the database, to exclude (don't display):

  • Top Domains / Top Advertisers (dashboard)
  • Top Clients (dashboard)
  • Domains, allowed and blocked (query log)

This will make it easier to browse the query log, looking for possible other domains that need to be blocked / allowed.

SetupVars is not a file that users should be reading or editing; the length of its lines should not matter. You can edit the list in the web interface and it will be a nice newline-separated list.