pihole-local-dns-recordslisted
Install: claude install-skill jackson2w/claude-code-skills
# Pi-hole 6: making devices show by name, not IP
Two different, easily-confused mechanisms live in Pi-hole 6's admin UI:
1. **Group Management → Clients** ("List of configured clients") — assigns a device (by MAC or
IP) to a blocking group so it gets different blocklists/rules. The **Comment** field here is
only a label for *your own bookkeeping on this page* — it does **not** propagate to the
dashboard, Top Clients, or Query Log. This is a long-standing, still-open Pi-hole feature
request (confirmed via Pi-hole's own Discourse as of 2025/2026) — don't assume setting a
Comment here accomplishes "friendly names in the dashboard."
2. **Local DNS Records** — a plain IP→hostname map. This is what actually makes the dashboard,
Top Clients, and Query Log show a name. Requires a **stable IP** (DHCP reservation) per
device — an IP that later changes leaves a stale mapping, so this is a poor fit for devices
whose IP isn't reserved (e.g. a phone using Private Wi-Fi Address / MAC randomization with no
router-side reservation).
## Where Local DNS Records actually live (Pi-hole 6 / FTL v6.7+)
Stored as `dns.hosts` in `/etc/pihole/pihole.toml` — an array of `"IP HOSTNAME"` strings (classic
`/etc/hosts` line format, one string per entry). Read/set safely via the FTL CLI rather than
hand-editing the TOML directly (avoids drift between the file and FTL's in-memory config):
```bash
# read current value
pihole-FTL --config dns.hosts
# set (JSON array of "IP HOST