Is it possbible to avoid any app from accessing certain domains?
For context: I noticed many, many apps accessing google tracking domains as well as facebook domains.
I don't want or need either, so I would like to avoid having these apps send info to Google and facebook. Or actually anything other than their owns servers (from which they could still send the info to Google and facebook, but I'm hoping that is not common practice (yet?) ).
I would take a look at the NetworkExtension Content Filter Providers APIs. This documentation should provide an overview of how they work and where they can be applied based upon your needs.
For implementation details on how Content Filter Providers can be used in an app, see 2019 WWDC video for Network Extensions for the Modern Mac.
DTS Engineering, CoreOS
meaton3 at apple.com