PiHole
Pi-hole is a network-level advertisement and Internet tracker blocking application which acts as a DNS sinkhole and optionally a DHCP server, intended for use on a private network.
IT Services · PiHole
Configuration parameters
url— Server URL (required)token— Auth Tokeninsecure— Trust any certificate (not secure)proxy— Use system proxy settings
Commands (21)
-
pihole-disableused to disable pihole for certain amount of time
-
pihole-enableEnable Pi-hole ad blocking
-
pihole-get-all-queriesGet DNS queries data
-
pihole-get-cache-infoShow cache info
-
pihole-get-client-namesGet client names
-
pihole-get-forward-destinationsShows number of queries that have been forwarded and the target
-
pihole-get-listGet all available lists from Pihole
-
pihole-get-over-time-data-clientsGet over time data clients
-
pihole-get-overTimeDataQueryTypesGet data over time per query types
-
pihole-get-overtimedata10minsData needed for generating the domains/ads over time graph on the Pi-hole web dashboard
-
pihole-get-query-typesShows number of queries that the Pi-hole’s DNS server has processed
-
pihole-get-recent-blockedShow most recent blocked domain
-
pihole-get-summaryrawGives statistics in raw format (no number formatting applied)
-
pihole-get-topclientsData needed for generating the Top Clients list
-
pihole-get-topclientsblockedShows the top clients being blocked
-
pihole-get-topitemsData needed for generating the Top Domain and Top Advertisers Lists
-
pihole-get-typeReturns the backend used by the API (either PHP or FTL)
-
pihole-get-versionReturns the version of the API
-
pihole-get-versionsShow versions of all components
-
pihole-list-managementManage lists. Add or remove items from lists
-
pihole-statusShow status of pihole action (enabled - disabled)