Skip to content

Instantly share code, notes, and snippets.

@mrtrkmn
Created March 30, 2023 21:19
Show Gist options
  • Save mrtrkmn/c125fcae100ad4745b3d43a7abd37295 to your computer and use it in GitHub Desktop.
Save mrtrkmn/c125fcae100ad4745b3d43a7abd37295 to your computer and use it in GitHub Desktop.
In case, MAC has company profiles installed and Apple tries to check on it, then blocking following domains would be necessary to get rid of unwanted notifications.
sudo cat <<EOF >>/etc/hosts
0.0.0.0 iprofiles.apple.com
0.0.0.0 mdenrollment.apple.com
0.0.0.0 deviceenrollment.apple.com
0.0.0.0 gdmf.apple.com
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment