Skip to main content

Pihole Denylist

@sntxrr/pihole-denylistv2026.09.27.1· 9d agoMODELS
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

02Models1
@sntxrr/pihole-denylistv2026.09.27.1pihole_denylist.ts

Global Arguments

ArgumentTypeDescription
hoststringPi-hole host, e.g. 192.0.2.53 or dns.example.lan:8080 (a scheme may be included)
passwordstringPi-hole web/app password; use a vault reference
schemeenumURL scheme when host carries none
caCert?stringInline PEM CA certificate for a self-signed HTTPS appliance
domainsarrayDeclared exact-deny domains (hostnames only; normalised to lower case, de-duplicated)
commentstringComment written on entries this model adds or re-enables
groupsarrayPi-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.
ArgumentTypeDescription
dryRunbooleanPlan only (default). Set false to apply the changes.
prunebooleanRemove exact-deny entries on the appliance that are not declared
maxRemovalsnumberRefuse 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