Flushing your DNS in Windows XP

tnl2k7

Banned
Messages
3,131
Reaction score
0
Points
0
Flushing your DNS in Windows XP

When you change the configuration of a domain, Windows can fall behind because of the way it caches domains as you use them. Naturally this speeds up web browsing because you don't have to resolve domains every time you want to visit the site; but it does cause issues sometimes. Flushing your DNS cache involves forcing Windows to delete these entries. It may sound complicated, but in reality it only takes two ticks. Here's some simple instructions your nan would understand, with explanations and images.

Before you ask, I'll write a guide for Windows Vista shortly. I've written the Windows XP one first because most people use XP, and I haven't got a Vista virtual machine set up yet.

Before you start, you may want to close all your open applications that may be using the web. This may cause them to go a bit mental. You may also want to disable your security applications, some over protective firewalls may prevent this from working.

And, you'll need to login to see the images.

  1. Click the 'Start' button, we'll be needing the Start menu for this.
    attachment.php
  2. Click 'Run...', so we can open Command Prompt.
    attachment.php
  3. Type 'cmd' without the quotes, and click 'OK'.
    attachment.php
  4. In the resulting Command Prompt window, type 'ipconfig /flushdns' without the quotes, and hit 'Enter' on your keyboard. This is the command that flushes Windows' cache of domain names, other than a couple of core ones that it requires to function properly.
    attachment.php
  5. You should see something that looks like the stuff in the image below. Congratulations, you're done!
    attachment.php

Well, there you have it. Now you should be able to view the site that resides on the domain whose properties you just fiddled with. Bear in mind that Windows will build this cache back up again over time, but you shouldn't need to flush it all out for quite some time.

-Luke.
 

Attachments

  • FlushDNS1.png
    FlushDNS1.png
    5.5 KB · Views: 575
  • FlushDNS2.png
    FlushDNS2.png
    1.1 KB · Views: 290
  • FlushDNS3.png
    FlushDNS3.png
    8.9 KB · Views: 297
  • FlushDNS4.png
    FlushDNS4.png
    8.6 KB · Views: 298
  • FlushDNS5.png
    FlushDNS5.png
    11.2 KB · Views: 309
Last edited:

sunils

New Member
Messages
2,266
Reaction score
0
Points
0
Thanks for that tutorial. Now i can redirect people to this thread who report problem that their site doesnot show up.
 

hamsn

New Member
Messages
290
Reaction score
0
Points
0
hey good tutorial
will this also refresh ip address?
i have seen some similar sort of things ppl do to overcome rapidshare time limit and ip download limit

is this the one or whats that?
 

sunils

New Member
Messages
2,266
Reaction score
0
Points
0
No, it doesnot refresh/reassign new ip address. for that you have to use.
ipconfig/release-->for releasing the current ip address
ipconfig/renew -->for getting new ip address from the DHCP
 

hamsn

New Member
Messages
290
Reaction score
0
Points
0
well thanks for it
i wanted to confirm it, because many time i failed getting errors

Thank you Sunil
 

sunils

New Member
Messages
2,266
Reaction score
0
Points
0
If you have admin rights you will have no problem working with those commands
 

tnl2k7

Banned
Messages
3,131
Reaction score
0
Points
0
This tutorial doesn't change your computer's IP address. it flushes the Windows cache of domains (names of websites which point to IP addresses). If you use a router, you can get a new IP address (provided your ISP uses DHCP) by resetting it. If you use a direct connection (ADSL / Dialup modem) you can restart the PC or use the commands Sunils mentioned above.

You can see the tutorial on my blog, at http://www.tnl2k7.uk.to/?p=3

-Luke.
 

Eclipse4

New Member
Messages
61
Reaction score
0
Points
0
I want to point something out with your tutorial, it can be done even simpler.

  1. Click the 'Start' button, we'll be needing the Start menu for this.
    attachment.php
  2. Click 'Run...'.
    attachment.php
  3. Type 'ipconfig /flushdns' without the quotes, and click 'OK'.
You won't see much after that. You may see the command prompt pop up briefly and disappear but that's it. You're done after you do that.
 

tnl2k7

Banned
Messages
3,131
Reaction score
0
Points
0
I want to point something out with your tutorial, it can be done even simpler.

  1. Click the 'Start' button, we'll be needing the Start menu for this.
    attachment.php
  2. Click 'Run...'.
    attachment.php
  3. Type 'ipconfig /flushdns' without the quotes, and click 'OK'.
You won't see much after that. You may see the command prompt pop up briefly and disappear but that's it. You're done after you do that.

That's the reason I did it this way. If Windows complains about some service failing to work, you can see what's going wrong and correct it. The ability to view the output from commands is useful, hence the fact it was done this way.

-Luke.
 

GBH187

New Member
Messages
58
Reaction score
0
Points
0
That's the reason I did it this way. If Windows complains about some service failing to work, you can see what's going wrong and correct it. The ability to view the output from commands is useful, hence the fact it was done this way.

-Luke.



faster way would be to press the windows key + R which will open the run prompt

this will reduce the need for a mouse.
 

tnl2k7

Banned
Messages
3,131
Reaction score
0
Points
0
faster way would be to press the windows key + R which will open the run prompt

this will reduce the need for a mouse.

Not all keyboards have a Windows key. Granted most do, but some don't. The whole idea was to keep this simple with pictures and step by step instructions so it didn't scare the less knowledgeable away :). You wouldn't believe how oblivious most people are to technology.

-Luke.
 

GBH187

New Member
Messages
58
Reaction score
0
Points
0
Not all keyboards have a Windows key. Granted most do, but some don't. The whole idea was to keep this simple with pictures and step by step instructions so it didn't scare the less knowledgeable away :). You wouldn't believe how oblivious most people are to technology.

-Luke.


Ill put it to you that if someone doesn't have a windows key they have a pc that is older than 1995 in which case they are probably not reading this forum.

Alternatively they are using a mac, in which case they are not reading this thread about flushing DNS records on a windows xp machine.
 

Smith6612

I ate all of the x10Pizza
Community Support
Messages
6,518
Reaction score
48
Points
48
I've seen a few laptops like certain Toshiba Satellite notebooks not have a Windows Key, and it was made in year 2002.
 

Chetz

Member
Messages
44
Reaction score
0
Points
6
Resetting you IP on an ADSL connection can be done by simply unplugging your phone line, and plugging it back in, followed by a short wait.

Ofcourse this won't work if you've got a static IP from your ISP
 

GBH187

New Member
Messages
58
Reaction score
0
Points
0
I've seen a few laptops like certain Toshiba Satellite notebooks not have a Windows Key, and it was made in year 2002.

When i worked for Toshiba (2000 - 2001) all laptops had windows keys

even the tiny little libretto had a windows key
 

tnl2k7

Banned
Messages
3,131
Reaction score
0
Points
0
When i worked for Toshiba (2000 - 2001) all laptops had windows keys

even the tiny little libretto had a windows key

Ok, can we go back on topic please? We've deviated a little haven't we, from DNS flushing to arguing about a Windows key on a laptop keyboard? Lol.

-Luke.
 
Last edited:

marshian

New Member
Messages
526
Reaction score
9
Points
0
This dns-flushing thing works on Vista too, as long as you start cmd with administrator privileges.
 

tnl2k7

Banned
Messages
3,131
Reaction score
0
Points
0
This dns-flushing thing works on Vista too, as long as you start cmd with administrator privileges.

I know, but believe it or not some people get confused by having to right click something and choosing 'Run as Administrator' from a context menu.

-Luke.
 
Top