Kudos
Collect
Twiiter
Facebook
Share
Develop somethings, meditation, reading and thinking...

DNS Cache Flush

Last updated over 5 years ago
1 0 0 0

MacOS

# Above Sierra
$ sudo killall -HUP mDNSResponder; sudo killall mDNSResponderHelper; sudo dscacheutil -flushcache

# El Capitan
$ sudo killall -HUP mDNSResponder

# Yosemite
$  sudo killall -HUP mDNSResponder; sudo dscacheutil -flushcache

Linux

$ sudo service nscd restart 

# Alternatively,

$ /etc/rc.d/init.d/nscd stop
$ /etc/rc.d/init.d/nscd start

Windows

> ipconfig /flushdns

Reference

https://help.dreamhost.com/hc/en-us/articles/214981288-Flushing-your-DNS-cache-in-Mac-OS-X-and-Linux

Hi, my name is Richard. I’m a developer wants to make the world better with logic power. Mainly I use Linux, Nginx, MySQL, PHP and JavaScript . I want to share my knowledge with someone that it was also based from some great persons via LYNMP. 👨‍💻

Essedrop - Make your file online instantly
 

Responses

Leave a response to @richard

Please sign in to comment.
Markdown is also available in comment.