Clearing DNS Cache

Tags how-to hd

Overview

Sometimes issues connecting to a server, especially after maintenance and upgrades were done on it, can be cleared up by clearing DNS.

Procedures

Windows - Flush the DNS Cache

  1. At the bottom left corner in the windows search bar, type cmd and press Enter
  2. At that command prompt, type ipconfig /flushdns and press Enter
  3. After this completes type exit to leave the command prompt

Mac - Flush the DNS Cache

  1. Open the terminal by using Spotlight Search or by pressing Command + Space and then type Terminal
  2. Double click the application icon for Terminal to open it
  3. Type in sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
  4. Enter your Mac’s password
  5. Press Enter to complete
  6. After using this command in Mac, you won’t see any type of success message. You will only be brought to a new command line.

 

References

None at this time

 

Last Reviewed:   29-Dec-2022