Query Logging

The currently configured logging file is

Privacy-related database settings

Pi-hole's long-term database is stored at


IP addresses (and associated host names) older than the specified number of days are removed to avoid dead entries in the network overview table.

Query Anonymization ("Privacy Level")

Specify if DNS queries should be anonymized, available options are:

Gives maximum amount of statistics

This disables the Top Permitted Domains and Top Blocked Domains tables on the dashboard

This disables all tables on the dashboard

No history is saved at all to the database, and nothing is shown in the query log. Also, there are no top item lists. Note that this also largely disabled regex capabilities.

The privacy level may be increased at any time without having to restart the DNS resolver. However, note that the DNS resolver needs to be restarted when lowering the privacy level. This restarting is automatically done when saving.