parental_control
Configure parental controls for a NextDNS profile: block, pause, or allow apps, sites, and categories, set recreation hours, and toggle safe search and YouTube restricted mode.
Instructions
Change a profile's parental control: block, unblock, pause or resume apps and sites (services) and categories, set recreation time (the hours when chosen ones are allowed), and switch safe search, YouTube restricted mode and bypass blocking. Take the IDs from catalog (kind services or categories); use list_entries for single domains. Changes the profile and records it, so undo can put it back; unknown IDs or times are refused, and anything already set is skipped. Returns what changed, the change ID and the parental control settings after.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pause | No | Blocked services or categories to keep in the list but stop blocking for now. | |
| resume | No | Paused services or categories to start blocking again. | |
| profile | No | The profile's ID or name. Leave empty for the only profile, or the default one. | |
| safe_search | No | true or false: force safe search on search engines. Leave empty to keep it as it is. | |
| block_bypass | No | true or false: block VPNs, proxies and other ways around the filter. Leave empty to keep it as it is. | |
| block_services | No | Apps and sites to block, like tiktok, instagram or fortnite (from catalog, kind services). | |
| block_categories | No | Categories to block, like porn, gambling, dating, piracy, gaming, social-networks or video-streaming. | |
| recreation_times | No | Recreation hours per day, like {"monday": "18:00-20:00", "saturday": "10:00-22:00"}. "" removes a day. | |
| unblock_services | No | Services to take off the block list. | |
| unblock_categories | No | Categories to take off the block list. | |
| allow_in_recreation | No | Blocked services or categories to allow during recreation time. | |
| block_in_recreation | No | Services or categories to keep blocked during recreation time too. | |
| recreation_timezone | No | The time zone for recreation_times, like Europe/Lisbon. Needed once times are set. | |
| youtube_restricted_mode | No | true or false: force YouTube's restricted mode. Leave empty to keep it as it is. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |