managing-pi-hole
Installation
SKILL.md
Pi-hole DNS Skill
Manage Pi-hole DNS filtering, blocklists, query logs, client activity, and statistics.
Core Helper Functions
#!/bin/bash
PIHOLE_API="http://$PIHOLE_HOST/admin/api.php"
pihole_api() {
local endpoint="$1"
curl -s "$PIHOLE_API?$endpoint&auth=$PIHOLE_API_TOKEN"
}