add_domain
Add an exact domain or regex to a Pi-hole allow or deny list, with optional group targeting, to control DNS filtering.
Instructions
Add an exact domain or a regex to the allow or deny list. groups are group IDs (default group 0).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | exact | |
| domain | Yes | ||
| groups | No | ||
| comment | No | ||
| enabled | No | ||
| domain_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||