Flush DNS cache
This morning I was doing some work with one of my website transfer and to see the changes on my MacBook laptop I knew I would need to flush the DNS cache so I wouldn’t have to wait for the cache to expire.
So for anyone else who needs to know the commands here they are:
OS X <= 10.5.1 (Mac OSX versions 10.5.1 and before)
OS X >= 10.5.2 (Mac OSX Leopard)
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
In Microsoft Windows, you can use the command to flush the DNS resolver cache:
Windows IP Configuration
Successfully flushed the DNS Resolver Cache.
You can also use the command to view the DNS resolver cache.
Hope that will help anyone out there who needs to flush their dns cache.