Flushing your DNS

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
XP And Below:
1.) Go to start->run.
2.) Type in "cmd" without the quotes.
3.) At the command prompt type "ipconfig /flushdns" again without quotes.

Vista:
1.) Click on start->All Programs->Accessories
2.) Right click on the command prompt and pick run as administrator.
3.) At the command prompt type "ipconfig /flushdns" no quotes.

Linux:
1.) Open a root terminal or use sudo (in ubuntu or similar systems) with the following command:
- "/etc/rc.d/init.d/nscd restart" (without quotes)

Mac OSX Leopard:
1.) Use the following command in a terminal window:
- "dscacheutil -flushcache" (without quotes)

Mac OSX 10.5.1 and before:
1.) Use the following command in a terminal window:
- "lookupd -flushcache" (without quotes)

This will flush your DNS and will solve a lot of issues with your computer caching the wrong information.

-Corey
 
Last edited by a moderator:

lambada

New Member
Messages
2,444
Reaction score
0
Points
0
Thought i'd extend this about to cover the non-windows folk:

For Mac's
Use a shell to run the command
lookupd -flushcache

For Linux
Use a shell or terminal to run
/etc/rc.d/init.d/nscd restart
 

Xemnas

New Member
Messages
812
Reaction score
0
Points
0
It's good to see a tutorial on this. People might actually search for this thread before asking how to flush their DNS!
 

Jesse

Active Member
Messages
1,360
Reaction score
0
Points
36
This will help people...
Maybe this thread should be sticky? since many users can try this before they post a new thread regarding their site not loading, etc.
 

lamplock

New Member
Messages
1
Reaction score
0
Points
0
DNS is domain name servers, they are the means we all navigate the internet by; they hold the ip information for each site (eg convert bbc.co.uk to 212.58.224.131). For website developers they are important because as information is updated we need DNS servers to point to the fresh content rather than the old. This will be updated periodically, but it is sometimes useful to flush the DNS to verify all routes.
 

Dan

Active Member
Messages
1,258
Reaction score
0
Points
36
Good idea posting this!! It should be a sticky...
 

coolv1994

Member
Messages
508
Reaction score
0
Points
16
Me too I've been getting a "Cannot display page" error for 4 days now. I'm also on stoli.
 
Last edited:

Alejandro

Staff
Staff member
Community Support
Messages
9,436
Reaction score
1
Points
38
Thought i'd extend this about to cover the non-windows folk:

For Mac's
Use a shell to run the command
lookupd -flushcache

For Linux
Use a shell or terminal to run
/etc/rc.d/init.d/nscd restart
Sorry, didn't see your post. I added Linux and both Mac versions to Corey's.
 

gcottick

New Member
Messages
11
Reaction score
0
Points
0
This thread does not appear anywhere near the top of the search results when you search on 'flush DNS'. Anyway to force a top result?

Regards... Cy
 
F

Fahad

Guest
Also, if the given linux command does not work, use:
/etc/init.d/nscd restart
 
Top