# Pie for Pi-Hole for Raycast

URL: https://www.raycast.com/GLaDO8/pie-for-pi-hole

> Control your Pi-hole from Raycast.

- Install: raycast://extensions/GLaDO8/pie-for-pi-hole
- Author: [Shreyas Gupta](https://www.raycast.com/GLaDO8)
- Installs: 902
- Platforms: macOS
- Categories: Productivity
- Updated: 2026-03-08
- Source: https://github.com/raycast/extensions/tree/fe28bf9f78514872c68c6b54577a5531acee7b06/extensions/pie-for-pihole/

## Commands

- **Toggle Pi-Hole**: Enable or disable your Pi-Hole, for any custom time
- **Query Log**: View query logs with time range and status filtering.
- **Pi-Hole Dashboard**: View Pi-hole dashboard with stats, query types, and system info.
- **Top Queries**: View top allowed and blocked queries.
- **Clients & Devices**: View top clients and network devices.
- **Manage Domains**: View, add, and delete domains on your allowlist or blocklist.
- **Add Domain**: Quickly add domains to your allowlist or blocklist.
- **Update Gravity**: Update Pi-hole gravity (v6 only).
- **Manage Subscription Lists**: View, add, toggle, and delete subscription lists (v6 only).
- **Add Subscription List**: Quickly add a subscription list to Pi-hole (v6 only).
- **Check Domain**: Search if a domain is blocked or allowed (v6 only).
- **Restart DNS**: Restart the DNS resolver (v6 only).
- **Flush Logs**: Flush Pi-hole query logs (v6 only).
- **Backup Config**: Download a Pi-hole Teleporter backup (v6 only).
- **Groups & Clients**: Manage groups and configured clients (v6 only).
- **View Configuration**: View full Pi-hole configuration as JSON (v6 only).

## README

### Pie for Pi-hole

![banner](https://user-images.githubusercontent.com/22849100/173755322-628ef6ae-bb12-46f6-aa6a-fc789821df85.png)

#### Overview

Control and monitor your Pi-hole instance from Raycast. Supports both **Pi-hole v5** and **Pi-hole v6** with full API coverage.

#### Setup

##### Pi-hole v5

1. **Pi-hole URL** — Your Pi-hole IP address or hostname (e.g. `192.168.1.2` or `pi.hole`)
2. **API Token** — Found in your admin dashboard: Settings → API → Show API Token

##### Pi-hole v6

1. **Pi-hole URL** — Your Pi-hole IP address or hostname
2. **Password** — Your Pi-hole admin password (or an app password)
3. **TOTP Secret** *(optional)* — Base32 secret for 2FA. Leave empty if 2FA is disabled or you use an app password.

#### Commands

| Command | Description | v5 | v6 |
| --- | --- | :---: | :---: |
| Toggle Pi-Hole | Enable or disable Pi-hole blocking | ✅ | ✅ |
| Pi-Hole Dashboard | View stats, query types, and system info | ✅ | ✅ |
| Query Log | Browse query logs with time range and status filtering | ✅ | ✅ |
| Top Queries | View top allowed and blocked domains | ✅ | ✅ |
| Clients & Devices | View top clients and network devices | ✅ | ✅ |
| Manage Domains | View, add, and delete allowlist/blocklist domains | ✅ | ✅ |
| Add Domain | Quickly add a domain to allowlist or blocklist | ✅ | ✅ |
| Manage Subscription Lists | View, add, toggle, and delete subscription lists | — | ✅ |
| Add Subscription List | Quickly add a subscription list | — | ✅ |
| Check Domain | Search if a domain is blocked or allowed | — | ✅ |
| Update Gravity | Update Pi-hole gravity database | — | ✅ |
| Restart DNS | Restart the DNS resolver | — | ✅ |
| Flush Logs | Clear Pi-hole query logs | — | ✅ |
| Backup Config | Download a Pi-hole Teleporter backup | — | ✅ |
| Groups & Clients | Manage groups and configured clients | — | ✅ |
| View Configuration | View full Pi-hole configuration as JSON | — | ✅ |

#### Feedback

Found a bug or have a feature request? [Open an issue on GitHub](https://github.com/raycast/extensions/issues).
