levinus
February 12, 2018, 9:57am
1
I don't like that all the requests made in my network are fully logged on my PiHole. But I also really like the statistics. I searched for a trade-off but the only thing I could do was to keep the full query data for some days to be able to compute statistics for these days. As @DL6ER posted there is an internal roadmap with some kind of privacy levels to reduce the information in the logs (after some time?):
The basic idea is to give users more fine grained settings for setting with how much detail they are comfortable. The currently defined levels are:
Permit everything (no privacy filtering)
Obfuscate domains names (replace domains by hidden, Top Domains and Top Ads not available)
Obfuscate domains and clients (replace domains + clients by hidden + 0.0.0.0, all Top Lists unavailable)
Maximum privacy (Top Lists, Query Log, and database aren’t updated with any data)
I think those are a pretty good start and I hope we will get them soon into the stable PiHole.
DL6ER
April 4, 2018, 1:29pm
2
This has been implemented and is already available in the currently running beta testing phase of FTL DNS
pi-hole:FTLDNS
← pi-hole:FTLDNS-privacylevels
opened 12:35PM - 04 Apr 18 UTC
**By submitting this pull request, I confirm the following:**
- [X] I have re… ad and understood the [contributors guide](https://github.com/pi-hole/AdminLTE/blob/master/CONTRIBUTING.md), as well as this entire template.
- [X] I have made only one major change in my proposed changes.
- [X] I have commented my proposed changes within the code.
- [X] I have tested my proposed changes.
- [X] I am willing to help maintain this change if there are issues with it later.
- [X] I give this submission freely and claim no ownership.
- [X] It is compatible with the [EUPL 1.2 license](https://opensource.org/licenses/EUPL-1.1)
- [X] I have squashed any insignificant commits. ([`git rebase`](http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html))
- [X] I have Signed Off all commits. ([`git commit --signoff`](https://git-scm.com/docs/git-commit#git-commit---signoff))
---
**What does this PR aim to accomplish?:**
Add code for setting the DNS resolver privacy level from the dashboard settings page
![screenshot at 2018-04-04 14-32-56](https://user-images.githubusercontent.com/16748619/38307847-6a3c9b22-3815-11e8-8296-7db2297d4d5b.png)
**How does this PR accomplish the above?:**
Add a new pane to the settings page (for the sake of modularity), and add required front end functionality (`savesettings.php`).
See also back end changes (required code): https://github.com/pi-hole/pi-hole/pull/2085
3 Likes