How to turn off Bonjour? My iMac (late 2009 with Mavericks) can only start up in safe mode. I have read that it might be related to a mdns responder issue. 

The log comes back with 2 kinds of lines which look suspect (but I am totally novice at this!):

May  4 20:39:43 Macs-iMac-3.local racoon[146]: failed to bind to address fd20:c40d:6b6d:9361:80a:aacb:6d80:2d86[500]: because interface address is/was not ready (flags 2)
+
May  4 20:39:24 Macs-iMac-3.local mDNSResponder[35]: mDNS_Register_internal: ERROR!! Tried to register AuthRecord 00007FE4FA01AD60 Macs-iMac-3.local. (Addr) that's already in the list
May  4 20:39:24 Macs-iMac-3.local mDNSResponder[35]: mDNS_Register_internal: ERROR!! Tried to register AuthRecord 00007FE4FA01B1F0 1.0.0.127.in-addr.arpa. (PTR) that's already in the list
May  4 20:39:24 Macs-iMac-3.local mDNSResponder[35]: mDNS_Register_internal: ERROR!! Tried to register AuthRecord 00007FE4FB801B60 Macs-iMac-3.local. (AAAA) that's already in the list
May  4 20:39:24 Macs-iMac-3.local mDNSResponder[35]: mDNS_Register_internal: ERROR!! Tried to register AuthRecord 00007FE4FB801FF0 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.E.F.ip6.arpa. (PTR) that's already in the list


I would like to try and turn off bonjour by using the Apple instructions http://support.apple.com/kb/HT3789
But I don't know where to put the line &lt;string&gt;-NoMulticastAdvertisements&lt;/string&gt; in the mdnsresponder.plist.

Here is my plist. Where should I place this line?

&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
&lt;plist version="1.0"&gt;
&lt;dict&gt;
    &lt;key&gt;Label&lt;/key&gt;
    &lt;string&gt;com.apple.mDNSResponder&lt;/string&gt;
    &lt;key&gt;OnDemand&lt;/key&gt;
    &lt;false/&gt;
    &lt;key&gt;InitGroups&lt;/key&gt;
    &lt;false/&gt;
    &lt;key&gt;UserName&lt;/key&gt;
    &lt;string&gt;_mdnsresponder&lt;/string&gt;
    &lt;key&gt;GroupName&lt;/key&gt;
    &lt;string&gt;_mdnsresponder&lt;/string&gt;
    &lt;key&gt;ProgramArguments&lt;/key&gt;
    &lt;array&gt;
        &lt;string&gt;/usr/sbin/mDNSResponder&lt;/string&gt;
    &lt;/array&gt;
    &lt;key&gt;MachServices&lt;/key&gt;
    &lt;dict&gt;
        &lt;key&gt;com.apple.mDNSResponder&lt;/key&gt;
        &lt;true/&gt;
               &lt;key&gt;com.apple.mDNSResponder.dnsproxy&lt;/key&gt;
               &lt;true/&gt;
    &lt;/dict&gt;
    &lt;key&gt;Sockets&lt;/key&gt;
    &lt;dict&gt;
        &lt;key&gt;Listeners&lt;/key&gt;
        &lt;dict&gt;
            &lt;key&gt;SockFamily&lt;/key&gt;
            &lt;string&gt;Unix&lt;/string&gt;
            &lt;key&gt;SockPathName&lt;/key&gt;
            &lt;string&gt;/var/run/mDNSResponder&lt;/string&gt;
            &lt;key&gt;SockPathMode&lt;/key&gt;
            &lt;integer&gt;438&lt;/integer&gt;
        &lt;/dict&gt;
    &lt;/dict&gt;
    &lt;key&gt;EnableTransactions&lt;/key&gt;
    &lt;true/&gt;
    &lt;key&gt;BeginTransactionAtShutdown&lt;/key&gt;
    &lt;true/&gt;
    &lt;key&gt;POSIXSpawnType&lt;/key&gt;
    &lt;string&gt;Interactive&lt;/string&gt;
&lt;/dict&gt;
&lt;/plist&gt;
Add it as a program argument. I've added it to the plist below:

&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
&lt;plist version="1.0"&gt;
&lt;dict&gt;
    &lt;key&gt;Label&lt;/key&gt;
    &lt;string&gt;com.apple.mDNSResponder&lt;/string&gt;
    &lt;key&gt;OnDemand&lt;/key&gt;
    &lt;false/&gt;
    &lt;key&gt;InitGroups&lt;/key&gt;
    &lt;false/&gt;
    &lt;key&gt;UserName&lt;/key&gt;
    &lt;string&gt;_mdnsresponder&lt;/string&gt;
    &lt;key&gt;GroupName&lt;/key&gt;
    &lt;string&gt;_mdnsresponder&lt;/string&gt;
    &lt;key&gt;ProgramArguments&lt;/key&gt;
    &lt;array&gt;
        &lt;string&gt;/usr/sbin/mDNSResponder&lt;/string&gt;
        &lt;string&gt;-NoMulticastAdvertisements&lt;/string&gt;
    &lt;/array&gt;
    &lt;key&gt;MachServices&lt;/key&gt;
    &lt;dict&gt;
        &lt;key&gt;com.apple.mDNSResponder&lt;/key&gt;
        &lt;true/&gt;
               &lt;key&gt;com.apple.mDNSResponder.dnsproxy&lt;/key&gt;
               &lt;true/&gt;
    &lt;/dict&gt;
    &lt;key&gt;Sockets&lt;/key&gt;
    &lt;dict&gt;
        &lt;key&gt;Listeners&lt;/key&gt;
        &lt;dict&gt;
            &lt;key&gt;SockFamily&lt;/key&gt;
            &lt;string&gt;Unix&lt;/string&gt;
            &lt;key&gt;SockPathName&lt;/key&gt;
            &lt;string&gt;/var/run/mDNSResponder&lt;/string&gt;
            &lt;key&gt;SockPathMode&lt;/key&gt;
            &lt;integer&gt;438&lt;/integer&gt;
        &lt;/dict&gt;
    &lt;/dict&gt;
    &lt;key&gt;EnableTransactions&lt;/key&gt;
    &lt;true/&gt;
    &lt;key&gt;BeginTransactionAtShutdown&lt;/key&gt;
    &lt;true/&gt;
    &lt;key&gt;POSIXSpawnType&lt;/key&gt;
    &lt;string&gt;Interactive&lt;/string&gt;
&lt;/dict&gt;
&lt;/plist&gt;