All integrationsSecurity

Pi-hole

Control Pi-hole, the network-wide ad blocker: pause blocking for a few minutes and turn it back on, report the day's numbers and top blocked domains, allow or block domains, manage blocklists and update gravity, and search the query log.

actions
14
triggers
2

Triggers

Start a workflow when something happens in Pi-hole.

  • Blocking turned off or onRuns when Pi-hole's ad blocking is turned off (from its menu, by a timer or by another app) or back on, or only one of the two. A pause shorter than the workspace's polling interval may be missed.
  • Domain blockedRuns when Pi-hole blocks a domain, for the domain or device you watch: once per domain and device each time it looks, with how many queries were blocked. Queries blocked before the workflow is turned on don't start it.

Actions

Steps a workflow can run in Pi-hole.

  • Get blocking statusFind out whether Pi-hole is blocking ads, and when a pause ends.
  • Turn off blockingPause Pi-hole's ad blocking for some minutes, such as for a site that won't load, or until it's turned back on.
  • Turn on blockingTurn Pi-hole's ad blocking back on, ending any pause.
  • Get summaryGet Pi-hole's numbers for the last 24 hours: queries, how many were blocked and what share, domains, clients, and the size of its blocklists. For a daily report.
  • Get top domainsList the domains Pi-hole blocked most (or allowed most) in the last 24 hours.
  • Get top clientsList the devices that asked Pi-hole the most in the last 24 hours, or had the most blocked.
  • Search query logFind recent DNS queries in Pi-hole's log, newest first: for a domain, from a device, blocked only or allowed only, within the last few minutes.
  • Add domainPut a domain on Pi-hole's deny list to block it, or its allow list to never block it: exactly, with all its subdomains, or as a regular expression. One already there takes the comment and group given.
  • Remove domainTake a domain off Pi-hole's allow or deny list, or both. Nothing is removed when it isn't there.
  • List domainsList the domains on Pi-hole's allow and deny lists, newest first, by list, match, words or group.
  • Add blocklistSubscribe Pi-hole to a blocklist (or an allowlist) by its address. Run Update gravity after it to start using its domains.
  • Remove blocklistUnsubscribe Pi-hole from a blocklist or allowlist. Its domains stop counting at the next gravity update. Nothing is removed when it isn't there.
  • List blocklistsList Pi-hole's blocklists and allowlists, with how many domains each has and how its last download went.
  • Update gravityDownload Pi-hole's blocklists again and rebuild what it blocks, as Tools > Update Gravity does. Says which lists failed to download. Can take a few minutes.

Automate Pi-hole with Lodol.

Connect Pi-hole, then hand Lodol the job in Slack, Claude or ChatGPT.

Free plan, no credit card