How To Flush DNS Cache in MacOS
The real problems begin when your DNS cache becomes corrupted or poisoned. This may happen due to technical faults or administrative accidents but it may also be a result of viruses or network attacks. Your DNS database stops working properly and, in the worst-case scenario, you may become a victim of phishing by being redirected to the website that looks like the one you wanted to go to but actually belongs to thieves who are after your money in the case of accessing banking sites, for example.
This is the moment when DNS flush becomes necessary. DNS flush command clears, resets and erases all the entries including invalid and poisoned records.
How do I flush my DNS cache?
Here are some of the common ways to flush your DNS cache. Type in cmd and hit enter.
Windows 8: Press Win key windows logo key and X on your keyboard. Click on Command Prompt. Make sure it is not running in the background as well.
Posted by philastokes. Flushing the cache is sometimes a good idea if you are unable to reach a site that you know is live but keeps returning an error you can check whether a site is live for others by typing its address here: Down for everyone or just me? You can download my free app FastTasks that will do this and a whole lot more!
Flushing your DNS cache in Mac OS X and Linux – DreamHost
Related Posts FastTasks — a utility for common terminal tasks. Tags: error , dns , down , down for everyone? Executing the following clears the cache, restarts the caching daemon, and fetches fresh DNS records. Reference: Apple Support Site here.
Thanks dude. I did. This is standard unix.
Just type your password and hit enter. This is to keep others from guessing anything about your password from looking, like asterisks online or in other programs.