element
+ if ($("#" + escapedKey).is("span") || $("#" + escapedKey).is("code")) {
+ $("#" + escapedKey).text(value.value);
+ } else {
+ // Set value if this is an element
+ $("#" + escapedKey).val(value.value);
+ }
}
}
}
diff --git a/scripts/pi-hole/lua/sidebar.lp b/scripts/pi-hole/lua/sidebar.lp
index b6db1eaa..de4c5009 100644
--- a/scripts/pi-hole/lua/sidebar.lp
+++ b/scripts/pi-hole/lua/sidebar.lp
@@ -155,7 +155,7 @@
">
- Privacy
+ Privacy
settings-level-2">
diff --git a/settings-privacy.lp b/settings-privacy.lp
new file mode 100644
index 00000000..772d8c5e
--- /dev/null
+++ b/settings-privacy.lp
@@ -0,0 +1,109 @@
+ --[[
+* Pi-hole: A black hole for Internet advertisements
+* (c) 2023 Pi-hole, LLC (https://pi-hole.net)
+* Network-wide ad blocking via your own hardware.
+*
+* This file is copyright under the latest version of the EUPL.
+* Please see LICENSE file for your rights under this license.
+--]]
+
+mg.include('scripts/pi-hole/lua/header_authenticated.lp','r')
+?>
+
+
+
+
+
+
+ Query Logging
+
+
+
+
+ The currently configued 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.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ mg.include('scripts/pi-hole/lua/footer.lp','r')?>