How to Delete DNS Cache using Command Prompt

Nov 14, 2016 | 6:04 pm

Published by | Chandan Singh

how-to-delete-dns-cache-using-command-prompt-cyberops-infosec

The computer system generally saves the URL of websites that you visit up a lot of times, prevent up searching for the DNS each time. This is stored on your computer in form of caches but this may sometimes cause in the DNS Errors if the caches become damaged. Now the thing is that you need to resolve the issue regarding up the DNS mistakes and you may do that by clearing away all that cache into the different type of Operating System.

Windows Operating System: 

Open Command Prompt

Open Command Prompt with Administrator Privilege

Type following command and press enter

ipconfig /flushdns

Mac OS X:

Open terminal and Type following command and press enter

dscacheutil -flushcache; sudo killall -HUP mDNSResponder” (OSX 10.10.4+)

“sudo discoveryutil mdnsflushcache; sudo discoveryutil udnsflushcache;” (OSX 10.10.10.10.3)

Linux Operating System:

Open Terminal and type following command

/etc/init.d/nscd restart

Video Tutorial to resolve DNS Error

Subscribe us for more update about these type of tutorials, and post comment if you have any query.