If you set your Mac up to use Google’s new DNS service with IP 8.8.8.8 or 8.8.4.4, you might find that you can no longer connect to other Macs on your local network with screen sharing.
File sharing works, but screen sharing does not.
Switching back to OpenDNS or Comcast DNS allows screen sharing to work again.