Pihole Denylist
@sntxrr/pihole-denylistv2026.09.27.1
01README
Declare a Pi-hole v6 exact-deny list in swamp and converge an appliance to it: plan by default, apply on request, prune only when asked
02Models
@sntxrr/pihole-denylistv2026.09.27.1pihole_denylist.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| host | string | Pi-hole host, e.g. 192.0.2.53 or dns.example.lan:8080 (a scheme may be included) |
| password | string | Pi-hole web/app password; use a vault reference |
| scheme | enum | URL scheme when host carries none |
| caCert? | string | Inline PEM CA certificate for a self-signed HTTPS appliance |
| domains | array | Declared exact-deny domains (hostnames only; normalised to lower case, de-duplicated) |
| comment | string | Comment written on entries this model adds or re-enables |
| groups | array | Pi-hole group ids for added entries (0 = Default) |
fn list()
Read the appliance's exact-deny list (read-only)
fn converge(dryRun: boolean, prune: boolean, maxRemovals: number)
Converge the exact-deny list to globalArguments.domains. Plans only unless dryRun=false; removes undeclared entries only with prune=true.
| Argument | Type | Description |
|---|---|---|
| dryRun | boolean | Plan only (default). Set false to apply the changes. |
| prune | boolean | Remove exact-deny entries on the appliance that are not declared |
| maxRemovals | number | Refuse a prune that would remove more than this many entries |
Resources
deny-list(infinite)— The appliance's exact-deny entries at the time of reading
converge-result(infinite)— What a converge planned and (unless dryRun) applied, with any failures
03Stats
A
100 / 100
Downloads
15
Archive size
10.1 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
04Platforms
05Labels