- macOS Ventura (13.4, M1) 環境で確認済み。
sudo defaults write /Library/Preferences/com.apple.mDNSResponder.plist NoMulticastAdvertisements -bool YES
- Reboot
sudo defaults write /Library/Preferences/com.apple.mDNSResponder.plist NoMulticastAdvertisements -bool NO
- Reboot
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.