0

Block all internet at night except essential services (Apple, Microsoft, Jamf) - school iPads

Hi,

I manage supervised school iPads (Jamf School) that use a NextDNS profile through an encrypted DNS (DoH) configuration profile.

I would like to block all internet traffic at night (e.g. 10 PM โ€“ 6 AM), while still allowing essential services so the devices stay manageable: Apple (APNs, software updates, iCloud), Microsoft 365 and Jamf.

As far as I can tell, Recreation Time only applies to Parental Control services and categories, so it cannot block everything on a schedule.

My current idea is a workaround using the API:

  • at 10 PM, a script PUTs the full list of TLDs to /profiles/:id/security/tlds;
  • at 6 AM, a second script resets the list;
  • Apple, Microsoft and Jamf domains are in the Allowlist.

A few questions:

Is there a native way to do this that I may have missed?
Can you confirm that the Allowlist always takes precedence over blocked TLDs?
Are there API rate limits or propagation delays I should be aware of when replacing the TLD list twice a day?
Is a scheduled "block all except allowlist" mode on the roadmap?

Thanks for your help.

Reply

null

Content aside

  • 15 min agoLast active
  • 1Views
  • 1 Following