Tuesday, April 1, 2014

DNS flush on clients to view sites after domain updates

If you have a site that is hosted on Amazon Route53 and you have updated the record set to point to a new instance, then sometimes you will have to perform a dns flush on client in order for the site to be refreshed

On windows machines, you can execute:

******************
C:\Users>ipconfig /flushdns

Windows IP Configuration

Successfully flushed the DNS Resolver Cache.
******************

On Mac OS, you can execute:

******************

$sudo dscacheutil -flushcache

******************

On Linux OS, you can execute:

******************
$sudo /etc/init.d/nscd restart

OR

$service nscd restart

******************

No comments:

Post a Comment