Skip navigation

HT3789: OS X: How to disable Bonjour service advertising without disabling DNS

Learn about OS X: How to disable Bonjour service advertising without disabling DNS

HT3789 WARNING:  Careful when you make a backup of com.apple.mDNSResponder.plist

967 Views 0 Replies Latest reply: Jun 18, 2012 1:17 PM by jhubbsGA RSS
jhubbsGA Calculating status...
Currently Being Moderated
Jun 18, 2012 1:17 PM

WARNING:  when you make a backup of com.apple.mDNSResponder.plist, DON'T leave it in /System/Library/LaunchDaemons!!  I tried making this change and had copied it to com.apple.mDNSResponder.plist.backup in the same directory and totally broke name resolution.  Tried backing out the change by copying the backup file back over and still broken.  Static IP with DNS addresses set manually; still broken.

 

What gave it away was that I could get name resolution to work again with

 

  sudo launchctl unload /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist

  sudo launchctl unload /System/Library/LaunchDaemons/com.apple.mDNSResponderHelper.plist

  sudo launchctl load /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist

  sudo launchctl load /System/Library/LaunchDaemons/com.apple.mDNSResponderHelper.plist

 

but resolution would still be failing after a reboot.

 

The admonition in the article to delete a ....plist~ file if you were using Emacs gave me the idea that maybe this was one of those things where anything in the directory gets used somehow regardless of how it's named and that made me wonder if the presence of com.apple.mDNSResponder.plist.backup was causing a problem.  Deleted com.apple.mDNSResponder.plist.backup and all was well again.  I was looking at a nuke-n'-pave!

MacBook Pro

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.