How to disable Bonjour in Apple Mac OS X Tiger

I personally don’t want Bonjour (Zeroconf, mDNSResponder, Rendezvous) running all the time, because I rarely use it and because it gives away information such as your username, what services you’re running, computer name and more, depending on what you’re running. From a security perspective, you’re making it easy for an attacker to enumerate services and usernames without even having to do active scanning a lot of the time.

In order to permanently disabled the mDNSResponder daemon, run the following command:

launchctl unload -w /System/Library/LaunchDaemons/

This will unload the daemon from memory and will modify the .plist file so the service will be permanently disabled and won’t be loaded during next startup. In fact, the previous command adds the lines highlighted in bold to the “/System/Library/LaunchDaemons/” file:

cat /System/Library/LaunchDaemons/
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "">
<plist version="1.0">


To reenable the service, simply issue:

launchctl load -w /System/Library/LaunchDaemons/

which will, in turn, remove the previously highlighted lines in bold from the “.plist” file.

NOTE: Disabling Bonjour breaks iTunes support for remote speakers.

17 thoughts on “How to disable Bonjour in Apple Mac OS X Tiger

  1. Pingback: Walt-O-Matic » Blog Archive » Macbook Pro: Network connectivity just disappears

  2. You need to quote the XML you copied and pasted into your blog entry so that it shows up correctly. My browser is actually parsing it and rendering it as plain text without the XML tags.

  3. Yup, the XML is readable, but nothing is highlighted 😦

    Exactly which lines are added to the file?

  4. OK, this unload it from memory and disables it from autoload, great tip. But other daemons/services, have a “required” line in the plist file, so mDNSresponder is launched at restart anyway.
    Is it posible to prevent this from happen?. Will this services that have this “dependency” run without it?
    It’s not a critical issue for me, but it will be great to have more control over this service.
    Thank you!!.

  5. Pingback: Mac Interop: Networking | Concentrated Technology

  6. Pingback: Tech.It.To.Me->{By.Anton.Perez} » mDNSResponder errors on MacBook Pro

  7. when I paste the above referenced line I get the following response.

    launchctl: CFURLWriteDataAndPropertiesToResource(/System/Library/LaunchDaemons/ failed: -10
    No such process

    Also wondering why directory access has the bonjour checkbox ghost colored and cannot uncheck. I often see bonjour workaround in console when looking for stuff in my sys, thinking this just sucks that security on my mac has a flaw that may cause me problems. Any updates to this page or other way of disabling or blocking bonjour?

  8. april to may palm os strip poker legal advice about credit card debt family vacation in marcos island animo acid and hair growth wyndham resorts johnson city tn cvc on credit cards debt consolidation unsecured phone number orthopedic surgeons spring hill fl strip poker invitational carmen electra

  9. I have recently started a site, the info you offer on this site has helped me tremendously. Thank you for all of your time & work. “The murals in restaurants are on par with the food in museums.” by Peter De Vries.

  10. I see a lot of interesting articles on your page. You have to spend a lot of time writing, i know how to save you a lot of time,
    there is a tool that creates unique, SEO friendly posts in couple of minutes, just search in google – laranita’s free content source

  11. I read a lot of interesting articles here. Probably you spend
    a lot of time writing, i know how to save you a lot of work, there is an online tool that creates readable, google
    friendly posts in seconds, just search in google – laranitas free content

Leave a Reply

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

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

Facebook photo

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

Connecting to %s