How to flush DNS cache di Linux / Windows / Mac

By | August 19, 2008

Kadang kita perlu merefresh DNS entri yang sudah terlanjur tersimpan di cache sistem operasi, karena mungkin ada alamat yang sudah berubah. di bawah saya sampaikan cara untuk flash dns cache di windows, linux dan Mac

flush DNS cache di Microsoft Windows (Win XP, Win ME, Win 2000):

– Start -> Run -> ketik cmd
– di command prompt, ketik ipconfig /flushdns

flush DNS cache di Linux, dengan restart nscd daemon:

– Untuk restart nscd daemon, ketik /etc/rc.d/init.d/nscd restart

flush DNS cache di Mac OS X Leopard:

– ketik di terminal lookupd -flushcache .

flush DNS cache di Mac OS X:

– ketik di terminal dscacheutil -flushcache .