Skip to content

Instantly share code, notes, and snippets.

@reishoku
Created May 27, 2023 12:37
Show Gist options
  • Save reishoku/d8bb566fa07a90c4377a74be5bd76c24 to your computer and use it in GitHub Desktop.
Save reishoku/d8bb566fa07a90c4377a74be5bd76c24 to your computer and use it in GitHub Desktop.
  • macOS Ventura (13.4, M1) 環境で確認済み。

Disable mDNS on macOS

  1. sudo defaults write /Library/Preferences/com.apple.mDNSResponder.plist NoMulticastAdvertisements -bool YES
  2. Reboot

Enable mDNS on macOS

  1. sudo defaults write /Library/Preferences/com.apple.mDNSResponder.plist NoMulticastAdvertisements -bool NO
  2. Reboot
@reishoku
Copy link
Author

reishoku commented Apr 5, 2025

Newer versions of macOS use mDNS heavily (for Handoff, etc...), so please note that there are some caveats. I think macOS will run fine without mDNS, though.

@r3a1d3a1
Copy link

r3a1d3a1 commented Apr 6, 2025

Good to know! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment