How to disable Bonjour in Mac OS X Snow Leopard

From Mac OS X v10.6: Disabling mDNSResponder will disable DNS I found how to disable Bonjour broadcasting without disabling mDNSResponder — because disabling mDNSResponder effectively breaks DNS name resolution.

To disable Bonjour broadcasting, just add:

<string>-NoMulticastAdvertisements</string>

to the array in the ProgramArguments section in System/Library/LaunchDaemons/com.apple.mDNSResponder.plist:

...
        <key>ProgramArguments</key>
        <array>
            <string>/usr/sbin/mDNSResponder</string>
            <string>-launchd</string>
            <string>-NoMulticastAdvertisements</string>
        </array>
...
Advertisements

2 thoughts on “How to disable Bonjour in Mac OS X Snow Leopard

  1. This kind of topic always get a butt-load of posts. Having done my own research for the last year or so, I am personally convinced that AGW is sheer nonsense. The IPCC is cracking under the strain of their wacky, unscientific projections, and folks are beginning to realize the sham and scam of the AGW alarmists. Almost daily we hear about yet another peculiar prophesy based on skewed or zero data. No I am not a right-winger or fundamentalist ranting against science in general. In fact, I’m an atheist, pro choice, and an advocate of gay rights across the board, as well and fetal stem cell research, etc.

  2. This is working for me from the command line

    sudo /usr/libexec/PlistBuddy -c “Add :ProgramArguments:2 string ‘-NoMulticastAdvertisements'” /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s