--[[ * 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') -- Page title and level selector PageTitle = "Web Interface - API Settings" mg.include('scripts/pi-hole/lua/settings_header.lp','r') ?>
Domains to be excluded from Top Domains / Ads Lists
Domains may be described by their domain name (like example.com)
Clients to be excluded from Top Clients List
Clients may be described either by their IP addresses (IPv4 and IPv6 are supported), or hostnames (like laptop.lan).
This will require local clients to authenticate to access the API. This is useful if you want to prevent local users from accessing the API without knowing the password.
This will make the API output more human-readable, but will increase the size of the output and make the API a bit slower.
This will allow clients to perform destructive actions via the API, such as rebooting or shutting down the system Pi-hole is running on.
| ID | Valid | TLS | Login at | Valid until | Client IP | User Agent |
|---|