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.

2 replies

null
    • Xavfree
    • 39 min ago
    • Reported - view

    Jamf internet safe schedule ?

    Schedule a wifi router down at night (better for good sleep), apps will do their update at 6 AM

      • Aksl_D
      • 15 min ago
      • Reported - view

       Thank you. The aim is precisely to do without Jamf Safe Internet by having my own DNS filtering.

Content aside

  • 15 min agoLast active
  • 2Replies
  • 13Views
  • 2 Following