add_domain
Add a domain to Pi-hole's allow or deny list by specifying domain, type (allow/deny), kind (exact/regex), and optional comment.
Instructions
Add a domain to the allow or deny list.
domain: the domain or regex pattern to add. type: "allow" (whitelist) or "deny" (blacklist). kind: "exact" (exact domain match) or "regex" (regular expression). comment: optional description.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| type | No | deny | |
| kind | No | exact | |
| comment | No |