User Tools

Site Tools


how_to_flush_dns

Explain how flush dns on windows, Mac OS X, Linux.

Flush DNS on windows :

$C:>ipconfig /flushdns

Flush DNS on Mac OS X :

10.11 - 10.12

sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

10.10

sudo discoveryutil mdnsflushcache
sudo discoveryutil udnsflushcaches

10.9

sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

10.7 - 10.8

sudo killall -HUP mDNSResponder

10.5 - 10.6

$dscacheutil -flushcache

10.4

$lookupd -flushcache

Flush DNS on Linux : In Linux, the nscd daemon manages the DNS cache. To flush the DNS cache, restart the nscd daemon. To restart the nscd daemon, use the command `/etc/init.d/nscd restart`

Source : External Link - External Link 2

how_to_flush_dns.txt · Last modified: 2017/03/13 11:10 (external edit)