PiHoleV6
PiHole V6 integration using the new REST API. PiHole is a network-level advertisement and Internet tracker blocking application which acts as a DNS sinkhole.
IT Services · PiHole
Configuration parameters
url— Server URL (required)password— Password (required)insecure— Trust any certificate (not secure)proxy— Use system proxy settings
Commands (33)
-
pihole-add-domainAdd a domain to allow/deny list.
-
pihole-add-groupCreate a new group.
-
pihole-add-listAdd a new adlist.
-
pihole-delete-domainDelete a domain from allow/deny list.
-
pihole-delete-groupDelete a group.
-
pihole-delete-listDelete an adlist.
-
pihole-flush-logsFlush DNS logs and purge last 24 hours from database.
-
pihole-flush-networkFlush the network table (remove all known devices and addresses).
-
pihole-get-blocking-statusGet current PiHole blocking status.
-
pihole-get-dhcp-leasesGet current DHCP leases.
-
pihole-get-domainsGet domains from allow/deny lists. Filter by type and kind.
-
pihole-get-ftl-infoGet FTL (Faster Than Light) engine information.
-
pihole-get-groupsGet all groups.
-
pihole-get-historyGet activity graph data (queries over time).
-
pihole-get-history-clientsGet per-client activity graph data.
-
pihole-get-host-infoGet host information.
-
pihole-get-listsGet all configured adlists.
-
pihole-get-network-devicesGet network devices known to PiHole.
-
pihole-get-network-gatewayGet network gateway information.
-
pihole-get-queriesGet DNS query log with optional filtering.
-
pihole-get-query-typesGet breakdown of DNS query types.
-
pihole-get-recent-blockedGet most recently blocked domain(s).
-
pihole-get-sensorsGet sensor information from PiHole host.
-
pihole-get-summaryGet overview of PiHole activity including query stats, client counts, and gravity info.
-
pihole-get-system-infoGet system information from PiHole host.
-
pihole-get-top-clientsGet top clients by query count.
-
pihole-get-top-domainsGet top permitted or blocked domains.
-
pihole-get-upstreamsGet metrics about upstream DNS destinations.
-
pihole-get-versionGet PiHole component versions.
-
pihole-restart-dnsRestart the pihole-FTL DNS service.
-
pihole-run-gravityUpdate PiHole gravity (pull latest adlists).
-
pihole-search-domainSearch for a domain across all PiHole lists and configuration.
-
pihole-set-blockingEnable or disable PiHole blocking, optionally with a timer.