Home > Uncategorized > DNS Trouble Resolution

DNS Trouble Resolution

February 18th, 2015

Getting a constant “site not available” response to  page requests, time and again,  is a great pain in the ass.  It’s caused by a full or corrupt dns cache in your computer.  The way to solve it is to flush your dns cache; to do this:  (1 reboot your computer, or (2 detatch, then re-attatch to your network, or (3 use ipconfig:

The command to flush the dns cache is ipconfig /flushdns

You can type  this in a command window, or in the command line at the bottom of the start menu; but it’s easier to create a batch file to issue the command.  Then you can just click on the batch file to execute it.

Batch (command) file method

Create a new text file on your desktop, rename it “flushme.cmd” (or what you wish, so long as it nds with “.cmd” ), and save it.  Now edit that file, and enter these two line:

ipconfig /flushdns

Save this file.  You should now be able to make it run with a double-click.   Hit return to make the command window go away.

Pin it to your task bar:  Create a shortcut to the batch file (the thing you just created), then make the target read

exe /C “path-to-your-file-flushme.cmd”

You can now pin this shortcut to your taskbar, so it will run with a single click.  The original batch file can go into a subdirectory on your desktop, if you wish to keep things tidier; just make sure the shortcut’s target is changed (unlock from taskbar to edit) to reflect its new location.  The “pause” command in the batch file can be removed, once you know it’s working.


Categories: Uncategorized Tags:
Comments are closed.