Apple TV can't find my Mac, restart discoveryd
I noticed after upgrading to Yosemite that often my Apple TVs couldn't find my Mac to play content from it, their main reason to exist. A reboot of my Mac fixed the problem so I dug deeper. I don't have to reboot anymore, I just have to restart discoveryd.
msoulier@merlin:~$ sudo launchctl list | grep discovery
264 0 com.apple.discoveryd_helper
1937 0 com.apple.networking.discoveryd
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.discoveryd.plist
sudo launchctl load /System/Library/LaunchDaemons/com.apple.discoveryd.plist
So it seems that discoveryd has issues in Yosemite.
Mac mini, OS X Yosemite (10.10.1)