Apple introduced privacy protection measures in macOS Monterey and iOS 15 which use a network of randomly assigned IPs to act as proxies when loading (amongst other things) email content. Does anyone know, or know how I can find out, what the network ranges of these services are?
When Apple users allow the settings
- Maintain General Location allows sites to show you localized content in Safari, while your IP address stays hidden
- Use Country and Time Zone uses a broader location for your IP address, still within your country and time zone
Apple currently publishes the IP-address ranges they use (for the purpose of populating Geo-IP databases) on their API here:
To prevent users in your network from using Apple's privacy protection proxies Apple does not publish the IP-address ranges in use (as far as I know) and instead they recommend:
The fastest and most reliable way to alert users is to return either a "no error no answer" response or an NXDOMAIN response from your network’s DNS resolver, preventing DNS resolution for the following hostnames used by Private Relay traffic.
and block in your DNS