How to Flush PC DNS?

Most operating systems and DNS clients will automatically cache IP addresses and other DNS results. This done in order to speed up subsequent requests to the same hostname.
Sometimes bad results will be cached.therefore need to be cleared from the cache in order for you to communicate with the host correctly. All major operating systems allow you to force this process. Kindly refer below to clear the cache:-

Windows 10
  1. Ensure that you're on the Windows 10 desktop.
  2. Right click on the start menu and choose Command Prompt (Admin) from the menu.
  3. Type in the command ipconfig /flushdns
Windows XP
  1. Go to Start
  2. Find command prompt(CMD) OR you can search cmd in Search bar
  3. Open the Command prompt
  4. Type this command and press Enter: ipconfig/flushdns
  5. If the command is successfull, you will see this message: Windows IP configuration successfully flushed the DNS Resolver Cache.
Windows 7/Windows Vista
  1. Go to Start
  2. Find command prompt(CMD) OR you can search cmd in Search bar
  3. Right click on Command prompt and select Run as administrator
  4. Type this command and press Enter: ipconfig/flushdns
  5. If the command is successfull, you will see this message: Windows IP configuration successfully flushed the DNS Resolver Cache.
Windows 8
  1. Press Windows+X key to open the menu
  2. Right click on Command prompt and select Run as administrator
  3. Type this command and press Enter: ipconfig/flushdns
  4. If the command is successfull, you will see this message: Windows IP configuration successfully flushed the DNS Resolver Cache.
Mac 10.7 and 10.8
  1. Click Applications --> Utilities
  2. Open up the Terminal
  3. Type this command and press Enter: sudo killall -HUP mDNSResponder
Mac 10.5 and 10.6
  1. Click Applications --> Utilities
  2. Open up the Terminal
  3. Type this command and press Enter: sudo dscacheutil -flushcache

Comments