Child pages
  • Disabling the bonjour advertising service
Skip to end of metadata
Go to start of metadata

Introduction

This document is targeted at Macintosh users who are receiving the yellow STOP screen while using Bronco Wireless. Please visit this page for more information on the issue being solved. Due to insurance and liability issues, CIS Staff cannot perform this task on your personal computer. We recognize that the steps taken in this guide may be daunting for some. Unfortunately we are working around a shortcoming in the Apple operating system and there is no way to make this guide simpler. We strongly recommend that you take the machine to a professional for this service to be performed. This guide is provided for informational use only. CIS and SUNY are not responsible for any data lost or damage caused as a result of following this guide. Please take the necessary steps to fully back up your Macintosh computer before beginning. It is also recommended that you print this guide and read it completely before getting started. Once you have started this process, internet access will be disabled until it is completed.

Summary

Macintosh OS X v10.6 uses the mDNSResponder process for unicast DNS (Domain Name System) functions, as well as Bonjour functions. Disabling the mDNSResponder process will also disable unicast DNS resolution, and without unicast DNS resolution, Mac OS X v10.6 cannot resolve hostnames such as www.apple.com. You can use this advanced article if you are a user who needs to disable Bonjour advertising service without disabling Bonjour queries and DNS.

Instructions

Important: Follow these steps carefully. If you do not complete all steps in the proper order you may corrupt the mDNSResponder.plist file which may prevent your Macintosh from starting up. As a precaution, you may wish to perform a full backup of your system with Time Machine. Commands that need to be entered are in red text. All commands are CaSe sEnSiTiVe. Please make sure to follow the commands exactly as you see them.

  1. First we will open the TERMINAL application.
    Do this by clicking on the GO menu from the desktop (Finder) and choosing UTILITIES, and then TERMINAL.    
    You should now see a command line that ends in $
  2. Next we will make a back up copy of the file we will work on (mDNSResponder.plist) as a precaution. Enter the following command exactly as shown at the $ prompt
    IMPORTANT- Do this step only once!! If you are reattempting these instructions because your first time didn't work properly do NOT do this again! You will over write the good copy with a bad copy!
    1. sudo cp "/System/Library/LaunchDaemons/com.apple.mDNSResponder.plist" ~/Documents/com.apple.mDNSResponder.plist
      1. NOTE: there is a SPACE in the above line between the .plist"   and the ~/Documents section
    2. You will then have to enter your admin password.  Note: No fillers like a * will show up...it seems like you aren't typing anything, but you are...just type your password and press enter.
    3. It will return to the $ prompt. Be sure the backup was successful: Check in your Documents folder for a file named com.apple.mDNSResponder.plist
      >>> (If it is NOT there repeat this step (#2).)
  3. Once the backup is made we need to tell MAC OS to stop using the file so we can edit it. Enter this command at the $ prompt
    1. sudo launchctl unload /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist
  4. Open the mDNSResponder.plist file in Terminal using the following command
    1. sudo nano "/System/Library/LaunchDaemons/com.apple.mDNSResponder.plist"
  5. Press the down key on your keyboard until you see  the "ProgramArguments" section.

it will look like this:
    <key>ProgramArguments</key>
    <array>
        <string>/usr/sbin/mDNSResponder</string>
        <string>-launchd</string>
    </array>

  1. Put your cursor before the line that says </array> and press the enter button to insert a new line.
  2. Press the arrow-up key once, then Tab twice
  3. Enter the text <string>-NoMulticastAdvertisements</string>

The "ProgramArguments" section will now look like this: (new addition is in red)

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

  1. Please make sure that you do not change anything else, and that the "ProgramArguments" section looks identical to the one above
  2. When you are certain that it is accurate we *need to save the file. * On your keyboard press CONTROL + O. This instructs the Macintosh that we want to write to the file.
  3. The system will ask what you want to name the file.  We will be keeping the default file name.  To keep the default file name simply press enter at this prompt.  It is important NOT TO CHANGE THE FILE NAME.
  4. After saving the file, we will close out of the editor by pressing CONTROL + X on your keyboard
  5. Lastly we will need to re-load this new file into the system so the internet starts to work again.  Once you see the prompt with the $ sign enter this command
    1. sudo launchctl load /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist

Conclusion

If things went correctly, you should now be able to again browse the internet. Verify this by opening your web browser and attempting to navigate to a web page. The Bonjour service is no longer advertising on the network, and your machine should no longer be subject to random yellow screens for no reason. Please alert CIS if you continue to receive the yellow STOP screen after this has been completed. If internet access is not restored after the last step, the file may have become corrupted or malformed. If this is the case, the original backup for this file was copied in step one to your Documents folder. A professional can assist you with restoring this file and your system functions.

Please note that this may have effects on how other computers see your machine on the network. If you share files/devices from this machine on your home network, other machines may no longer be able to see this machine without knowing its IP address. CIS and SUNY are not responsible for any data lost or damage caused as a result of following this guide.

2 Comments

  1. This is quite easy to follow. I added a line or two and so far so good....

    1. Does Grady run into this issue as well?