set_blocking
Toggle DNS blocking on or off. Optionally set a timer in seconds for automatic reversion.
Instructions
Enable or disable DNS blocking.
enabled: True to enable, False to disable. timer: optional seconds before blocking auto-reverts. Example: set_blocking(False, 300) disables for 5 minutes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | ||
| timer | No |