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.

3 replies

null
    • Xavfree
    • 2 hrs 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
      • 2 hrs ago
      • Reported - view

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

      • Xavfree
      • 1 hr ago
      • Reported - view

       

      If nobody use the ipad by night why not just schedule a stop at 10 PM and a start at 6 AM ? It's good for mother Earth 🙂

      Use Screen Time to lock all apps for a specific period of time, which will prevent you from using the device during that time. You can also set allow application in need.

      There are 4 ways to do it, see here :

      isunshare  com / iphone-ipad / how-to-set-iphone-ipad-to-turn-off-automatically.html

Content aside

  • 1 hr agoLast active
  • 3Replies
  • 20Views
  • 2 Following