After connecting VPN, I often have to flush DNS to get my private hosts to be found. I would do this
sudo discoveryutil mdnsflushcache; sudo discoveryutil udnsflushcaches
Now, after upgrading to Yosemite 10.10.4, I get
sudo: discoveryutil: command not found
discoveryutil is gone in 10.10.4? How can I flush DNS now?