Currently i'm unaware of a way to do this for Yosemite, so i'm hoping someone else has discovered a way.
This article effectively summarizes the situation:
https://gist.github.com/steakknife/b8e9c37d287f8b7d70ee
mDNSResponder is now gone in Yosemite, replaced by discoveryd. Adding in the "--no-multicast" argument to discoveryd does stop multicast (bonjour), but has the nasty side effect of messing up WiFi. I experienced that today while working from home where it had been able to connect to my personal WiFi, but after a reboot could no longer find ANY broadcast networks, or connect manually. Removing "--no-multicast" and unloading/loading it made WiFi usable again. Hopefully there is some bullt-in solution that doesn't require me to setup firewall rules to block the traffic.
