In Microsoft Windows, you can use the command
to flush the DNS resolver cache:
In Mac OSX, you can use the command lookupd -flushcache to flush the DNS resolver cache.
Code:
bash-2.05a$ lookupd -flushcache
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
Code:
`/etc/rc.d/init.d/nscd restart`