brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: pihole-FTL --config misc.privacylevel hides what Pi-hole shows

Privacy
~/tips/tip-pihole-ftl-privacylevel

sudo pihole-FTL --config misc.privacylevel 1

Sets how much detail Pi-hole keeps in its statistics, from everything down to nothing.

A Pi-hole sees every domain that every device in the house asks for. If other people use the network, you may not want that list to be one click away. Pi-hole has a setting that dials the detail down.

sudo pihole-FTL --config misc.privacylevel 1

The levels, as the FTL docs describe them:

  • 0 hides nothing and is the default.
  • 1 hides domains, which disables Top Domains and Top Ads.
  • 2 hides domains and clients, which also disables Top Clients and Clients over time.
  • 3 anonymizes everything. There is no long-term database logging and no Query Log, and you lose most regex features.

The same key can be set as FTLCONF_misc_privacylevel in the environment of the Docker image. In the config file it is privacylevel under [misc].

The docs warn that changing it triggers a restart of FTL, so expect a short DNS hiccup. Level 3 is the one to think about twice: if something breaks later, you have no query log to look at.

The same syntax works for any other FTL setting, for example sudo pihole-FTL --config dns.dnssec true in the docs. Settings normally live in /etc/pihole/pihole.toml, but the docs recommend the web interface, the API or the command line over hand editing, because those check for errors. A setting defined through an environment variable becomes read-only in the other interfaces.

Further reading: Pi-hole docs: FTL configuration

More Privacy tips Settings > Apps > Mail > Privacy Protection > Protect Mail Activity Share button > Options > Location (off) Settings > Privacy & Security > Location Services > (app) > Precise Location Settings > Privacy & Security > Tracking > Allow Apps to Request to Track (off) Hide My Email creates a throwaway address, and deleting it is final All Privacy tips (7) All topics

Link