How clear DNS cache

Windows

  1. Press Win+R. (You will see modal window "Execute".)
  2. Write "cmd" and press Enter.
  3. Write "ipconfig /flushdns" and press Enter.
  4. Write "ipconfig /registerdns" and press Enter.
  5. Write "ipconfig /release" and press Enter.
  6. Write "ipconfig /renew" and press Enter.

Linux

  1. Open terminal.
  2. Execute command: sudo /etc/rc.d/init.d/nscd restart

MacOS

  1. Open terminal.
  2. Execute command:  sudo dscacheutil -flushcache