Follow

Flush your DNS Cache

Often times, network connections are plagued by cached DNS queries. This can cause issues in connecting to cloud servers and hands-on labs.

 

Mac OS

To clear the DNS cache on Mac OS, you will need to enter this command (based on your OS version) in the terminal application:

  • For Mac OS 10.10.4 and greater: sudo killall -HUP mDNSResponder
  • For Mac OS 10.10.1-3, run: sudo discoveryutil mdnsflushcache
  • For MacOS 10.7, 10.8, and 10.9: sudo killall -HUP mDNSResponder

 

Linux

To clear your DNS cache on a Linux-based machine, you will need to run the following command (based on your OS type) in your terminal application:

  • Ubuntu: sudo /etc/init.d/dns-clean
  • CentOS: sudo /etc/init.d/bind restart

 

Windows 10, 8, 7

To clear the DNS cache on Windows 10, 8, or 7, you will need to enter this command in your cmd application:

  • ipconfig /flushdns

 

If you continue to have issues connecting to a cloud server or hands-on lab, please do not hesitate to open a Support ticket or email support@linuxacademy.com!

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.