pihole
Installation
SKILL.md
Identity
- Service unit:
pihole-FTL.service(the DNS resolver + stats engine) - Config dir:
/etc/pihole/(setupVars.conf, pihole-FTL.conf, custom.list, etc.) - Web interface: runs on port 80 (or configured port) —
http://<ip>/admin - Logs:
journalctl -u pihole-FTL,/var/log/pihole/pihole.log,/var/log/pihole/FTL.log - Data/lists:
/etc/pihole/gravity.db(SQLite, blocklist database) - Install: Official script:
curl -sSL https://install.pi-hole.net | bash(review before running)
Key Operations
| Goal | Command |
|---|---|
| Check service status | pihole status |
| Update blocklists | pihole -g (gravity update) |
| Enable/disable blocking | pihole enable / pihole disable |
| Disable for X seconds | pihole disable 300 |
| View query log | pihole -t (tail) or pihole -q domain.com (query) |
| Whitelist a domain | pihole -w domain.com |
| Blacklist a domain | pihole -b domain.com |
Related skills