Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How clear is DNS cache in client Machine ?

user-image
Question added by Abeer Pallath House , Systems Engineer , MANVISH INFO SOLUTIONS PVT LTD
Date Posted: 2016/05/24
Anas Mahmood
by Anas Mahmood , system administrator / network administrator , Dallah Trans

AT TIMES PERSONAL COMPUTER'S OR LAPTOP'S WILL be UNABLE TO CONNECT INTERNET.THERE ARE 2 MAIN CONCERN'S FOR THIS ISSUE .THE FIRST IS DUE TO DNS AND OTHER IS DUE TO CHANGE IN THE IP .

FOR CLEARING THE DNS CACHE ON CLIENT MACHINE we need to go command prompt i,e cmd ..command prompt will open.then type IPCONFIG /FLUSHDNS..THEN PRESS ENTER.

It will display the message successfully resovle the DNS cache.

The 2 issue is changing the dhcp ip .

To resolve it go to cmd type ipconfig /renew

IT it will renew the ip and issue is get solved.

then to exit from the cmd prompt.

 

Mohammed Noufal Ullattchali
by Mohammed Noufal Ullattchali , Sr. Technical Officer , Nesma and Partners

Start>cmd>

ipconfig/flushdns

Sanjay Modha
by Sanjay Modha , Engineer - IT Infrastructure , Cooperstandard automotive private limited

Use flushdns using command in windows 

 

Asif Mehmood
by Asif Mehmood , Network /Systems Administrator , Daleel International / Subsidiary Of (Arabi Holding Group)

To clear your DNS cache if you use Windows 7, perform the following steps:
  1. Click Start.
  2. Enter cmd in the Start menu search text box.
  3. Right-click Command Prompt and select Run as Administrator.
  4. Run the following command: ipconfig /flushdns. If the command succeeds, the system returns the following message:

khloud serry
by khloud serry , Network System Administrator , Arab Open University

Go to Run>>CMD>>by using command ipconfig /flushdns

Abuthagier Asharafali
by Abuthagier Asharafali , IT Technical Support Engineer , TOPWNET(ALSHAYA PROJECT)

On your local machine, click Start and select Run

type command and click Ok

Within the prompt, type ipconfig /flushdns

mohammed mohiuddin
by mohammed mohiuddin , Network Administrator , EL-SEIF ENGINEERING CONTRACTING COMPANY

The following article explains how to flush a computer's DNS cache. When a computer visits a website for the first time, it stores the website's DNS information in cache. The next time the computer visits a website, it looks in the cache to see if the website's information is present to use. This can cause problems if the website's DNS information has changed since the computer's last visit. Flushing the cache removes all the information stored in cache, forcing the computer to find the new DNS information for the website.

Kiran Raj Ch
by Kiran Raj Ch , Senior System Engineer , Saudi Comedat Company Ltd

start-cmd

ipconfig /flushdns

kawser hossen kawser
by kawser hossen kawser , Technical Support Engineering , Islamic Development Bank

For windows operating system. 

1. Click Start 

2. Enter cmd in the start menu search text box. 

3. Right - click Command Prompt and select Run as Administrator

and 4. Run the following command: 

 

  1. ipconfig /flushdns   

Anil Varma
by Anil Varma , IT/OT Security Specialist – APAC , INEOS Styrolution Group GMBH

For your personal computer you can put below command to clear DNS cache

ipconfig /flushdns

Nassim Dhaher
by Nassim Dhaher , Dev Sec Ops Engineer , FSC

If I understood your question. To clear the dns cache

ipconfig /flushdns

then to get new addresses,

ipconfig /registerdns   (for this you'd need to run cmd as an administrator.

You can run both commands in a one liner

ipconfig /flushdns && ipconfig /registerdns

You can also view the dns entries in your pc's cache by doing the command.

ipconfig /displaydns

this can be a big list so you can save it into a text file using the redirction into a file such as

ipconfig /displaydns >c:\\displaydns.txt

Another thing I almost forgot to mention is your hosts file where you can save static dns entries. it is located in your drivers\\etc folder in your system32 folder.

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.