mDNSResponder
was enough to keep it quiet but this doesn't work as intended anymore on Snow Leopard as all DNS activity goes through mDNSResponder
now.Apple's KB explains how to properly disable those broadcast advertisements:
sudo vim /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist
- Add
<string>-NoMulticastAdvertisements</string>
at the end of theProgramArguments
array. - Save the file
- Restart
mDNSResponder
:sudo launchctl unload /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist
sudo launchctl load /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist
mDNSResponder
.
4 comments:
This is a great tip but only really helps if everyone on the network does this. I'm on a huge University network and the mDNSResponder simply kills my battery because it takes about 5-10 requests / second. Thanks for the tip though!
So do you know how to disable bonjour on only one interface? I have 2 interfaces, and bonjour seems to be advertising the wrong one.
Thanks so much for this! It works beautifully!
Does this still work under Mountain Lion?
Post a Comment