Skip to content

Instantly share code, notes, and snippets.

@scfcode
Created April 19, 2022 17:48
Show Gist options
  • Save scfcode/ed4ab41380dedfc445a0dd04700c5df4 to your computer and use it in GitHub Desktop.
Save scfcode/ed4ab41380dedfc445a0dd04700c5df4 to your computer and use it in GitHub Desktop.
Disable mDNSresponder macOS
reboot/cmd-r -> terminal
csrutil disable # disable SIP
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSresponder.plist
See also
defaults write /System/Library/LaunchDaemons/com.apple.mDNSResponder ProgramArguments -array “/usr/sbin/mDNSResponder” “-launchd” “-NoMulticastAdvertisements”
To undo this, you would run:
defaults write /System/Library/LaunchDaemons/com.apple.mDNSResponder ProgramArguments -array “/usr/sbin/mDNSResponder” “-launchd”
from https://krypted.com/tag/nomulticastadvertisements/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment