GICT knowledge base
How to Clear DNS Cache?
Published
In this documentation, we can check how to clear DNS cache in different operating systems.
LINUX
1) Open the terminal.
2) Use the following command to clear DNS cache.
/etc/init.d/nscd restart
Or
service nscd restart
Or
service nscd reload
Windows 7
1) Click the ‘Start’ menu.
2) Go to ‘All Programs’.
3) Choose ‘Accessories’ and right click ‘Command Prompt’.
4) Select ‘Run as Administrator’.
5) Run the following command.
ipconfig/flushdns
If the command succeeds, you will get the following message.
Windows IP configuration successfully flushed the DNS Resolver Cache.
Windows 8
1) Click on the ‘Windows Key’.
2) Right click on the ‘Command Prompt’ and select ‘Run as Administrator’.
3) Run the following command.
ipconfig/flushdns
If the command succeeds, you will get the following message.
Windows IP configuration successfully flushed the DNS Resolver Cache.
Mac
1) Open the terminal.
2) Run the following command to clear DNS cache in Mac.
lookup -flushcache
That is how we can clear DNS cache in different operating systems.
If you need any further help please reach our support department.
Related guides
How to Fix DNSSEC SERVFAIL Errors
Fix DNSSEC SERVFAIL errors by checking parent DS records, DNSKEYs, and signature dates. Verify the repair with DNSSEC validation enabled.
DNSHow to Fix Cloudflare Redirect Loops in WordPress
Diagnose DMARC failures when SPF and DKIM pass, compare the From, envelope, and signing domains, and fix alignment at your mail provider.
DNSReverse DNS Policies at InterServer
Understanding Reverse DNS Policies at InterServer Setting up Reverse DNS (rDNS) is one of those tasks that sounds complicated, but it’s actually pretty straightforward...
DNSHow to use nslookup command on Linux and Windows Operating System
nslookup is a windows and Linux utility tool that allows you to check the dns information of any domain on the internet.


