If you want statistics on your UDNS cache, use this command instead. However, it will let you know if it doesn't understand the command or if there's an error.įor those who just want to check in on their DNS cache, you can type the following command to get statistics on your MDNS cache. It will simply open up another command line below the one you just ran. If you are unfamiliar with Terminal, be aware that it will not alert you when it finishes clearing the cache.
Peter Edison MacBooster is a great app cleaner for mac os x that can uninstall, clean, scan, repair, and optimize many aspects of your Apple system. So, it should look something like this: sudo discoveryutil mdnsflushcache sudo discoveryutil udnsflushcaches Buy App Cleaner for Mac Now (from 39.95) MacBooster Reviews. You can type them in either order, as long as you separate the commands with a semi-colon. Or, if you want to save some time and clear everything out at once, you can string the two commands together in Terminal. To clear the UDNS cache, again in the Terminal window, type the following command and hit enter/return. If prompted, type in your password for your user account on your Mac. Once you have the Terminal window open, type the following command and hit enter/return to flush the MDNS. Let's start with clearing them separately. But, if you just want to fix the problem, they can both be flushed at the same time. This is helpful if you are trying to troubleshoot down to a more granular level. It's important to note here that Terminal will allow you to clear both the Multicast DNS (MDNS) and Unicast DNS (UDNS) using separate commands.