How to Flush DNS: Difference between revisions

From Prime Wiki
Jump to navigationJump to search
(Created page with "On Windows XP; Vista; 7; 8; 8.1; 10 Press the Windows+R key combination in order to open the Run dialog box. Type the following command and click the OK button: cmd ipconfig...")
 
No edit summary
Line 5: Line 5:
ipconfig /flushdns
ipconfig /flushdns


Ubuntu Linux
Ubuntu Linux:
sudo service network-manager restart
sudo service network-manager restart


Other Linux
Other Linux:
sudo /etc/init.d/nscd restart
sudo /etc/init.d/nscd restart


Mac OS Sierra / Mavericks / Mountain Lion
Mac OS Sierra / Mavericks / Mountain Lion:
sudo killall -HUP mDNSResponder
sudo killall -HUP mDNSResponder


Mac OS X Yosemite
Mac OS X Yosemite:
sudo discoveryutil udnsflushcaches
sudo discoveryutil udnsflushcaches


Mac OS X Snow Leopard
Mac OS X Snow Leopard:
sudo dscacheutil -flushcache
sudo dscacheutil -flushcache


Mac OS X Leopard and below
Mac OS X Leopard and below:
sudo lookupd -flushcache
sudo lookupd -flushcache

Revision as of 18:26, 18 April 2018

On Windows XP; Vista; 7; 8; 8.1; 10

Press the Windows+R key combination in order to open the Run dialog box. Type the following command and click the OK button: cmd ipconfig /flushdns

Ubuntu Linux: sudo service network-manager restart

Other Linux: sudo /etc/init.d/nscd restart

Mac OS Sierra / Mavericks / Mountain Lion: sudo killall -HUP mDNSResponder

Mac OS X Yosemite: sudo discoveryutil udnsflushcaches

Mac OS X Snow Leopard: sudo dscacheutil -flushcache

Mac OS X Leopard and below: sudo lookupd -flushcache