UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  eUKhost's Official Web Hosting Forum > Technical Support > Tutorials / How to?

Reply
 
Thread Tools Display Modes
  #1  
Old 25-10-2008, 21:15
Rsync's Avatar
System Administrator(eUKhost.com)
 
Join Date: Mar 2007
Posts: 327
Thumbs up How to Clear/Flush DNS cache in Windows / Linux / Mac Machines

DNS
A DNS server resolves domain names into IP addresses. So when you request “eukhost.com” for example, the DNS server finds out the address for the domain, and sends your request the right way.

DNS Cache Problem
If you continually get DNS errors while trying to brows any site, but the same site on another computer on the same network is working fine. Then this problem is because of the DNS cache of the machine and you need to reload your DNS cache on that machine.

Following is the process to Clear/flush DNS cache in Windows / Linux / Mac Machines

To Clear/flush DNS cache in Microsoft Windows.
Quote:
Start >> Run >> type cmd
In command prompt, type
Quote:
C:\> ipconfig /flushdns


OR

In command prompt, type
Quote:
C:\> net stop dnscache
C:\> net start dnscache

Once you run the command your Window DNS cache will Clear/flush.

To Clear/flush the DNS cache in Linux, you need to restart the nscd daemon.
You need login into the shell of your machine and type
Quote:
root@support [~]# cd /etc/rc.d/init.d
root@support [/etc/rc.d/init.d]# ./nscd restart

Once you run the command your linux DNS cache will Clear/flush.

To Clear/flush the DNS cache in Mac OS.
In your terminal, type
For Tiger Mac
Quote:
$ lookupd -flushcache
For Leopard Mac
Quote:
$ dscacheutil -flushcache

Once you run the command your DNS cache (in Mac OS) will Clear/flush.

__________________
RsyNc.
VPS Support Team

VPS Hosting ||Cloud Hosting 100% UPTIME!
Follow eUKhost on Twitter || Join eUKhost Community on Facebook
MSN: johnr @ eukhost.com
SKYPE: john_rodricks

Last edited by Stan; 07-02-2012 at 12:16.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 25-10-2008, 22:36
Senior Member
 
Join Date: Oct 2008
Location: Leeds
Posts: 120
Send a message via Skype™ to Marksfish
Default

There is a problem with this when runing the command on Vista. I finally found the answer myself today after months of frustration.

If you go Start/ Programmes/ Accessories and find the command prompt icon. Hover the mouse over and right click, then select run as administrator. You can also make a desktop shortcut and right click / run as administrator from there.

If you don't run the command as administrator you receive the following error:

C:\Users\Admin>ipconfig/flushdns
The requested operation requires elevation.

Mark
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 26-10-2008, 00:46
Rock's Avatar
Technical Support (eUKhost.com)
 
Join Date: Oct 2006
Location: localhost
Posts: 3,357
Send a message via MSN to Rock Send a message via Skype™ to Rock
Talking

That is one of the good reasons I hate Vista Read further here : http://www.eukhost.com/forums/f17/grr-vista-6273/
__________________

Rock _a.k.a._ Jack
Windows Hosting || Windows Reseller Hosting
Cloud Hosting 100% UPTIME! || Powerful Dedicated Servers
Follow eUKhost on Twitter || Join eUKhost Community on Facebook

For complaints, grievances or suggestions kindly email our FeedBack Dept.
Proper action will be taken accordingly & instantaneously!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 19-09-2009, 00:28
new member
 
Join Date: Sep 2009
Posts: 1
Default

The same thing happens in Windows 7, you can simply click the start menu and type cmd to search for the command prompt, right click and and choose to run as administrator also - don't have to search through the various sub menus.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
clear dns, dns, flush dns, flush dns cache in microsoft windows, flush the dns cache in linux, flush the dns cache in mac


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT. The time now is 06:48.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by eUKHosting 3.1.0
Search Engine Friendly URLs by eUKHosting 3.1.0
Copyright © 2001-2012, eUKhost LTD. All rights reserved.

 


UK VPS Hosting
VPS Hosting plans

Dedicated Server Hosting
Dedicated Server plans

VoIP Dedicated Servers
Asterisk, Trixbox Dedicated Servers

Business Web Hosting
100% uptime Hosting

UK Cpanel Hosting
cPanel Shared Hosting

Domain Hosting
Cheap Domains & Hosting Plans

UK Reseller Hosting
Reseller Web Hosting

Windows Hosting
Windows Shared Hosting

Windows VPS

Windows VPS Hosting

Semi Dedicated Servers
Semi-Dedicated Hosting

Dedicated Server Mirroring
Dedicated Server Mirroring

Webhosting Knowledgebase
Frequently asked Questions

Web Hosting Blog
eUKhost Blog

Web Hosting Support
Support Helpdesk

UK Data Center
eUKhost Datacenter

Web Hosting Forum
eUKhost Forum

Support Tutorials
Online Flash Tutorials

Offsite Back-up Plans
Remote Backup Service

ColdFusion Hosting
ColdFusion Web Hosting
 
 

Android and Apple App


knowledgebase articles
eUKhost.com Services

Pre-Sales Questions
Pre-sales FAQ's

Domain Names
Domain registration FAQ's

cPanel Hosting
cPanel Hosting FAQ's

Windows Web Hosting
Plesk Control Panel

Reseller Hosting
Reseller Hosting FAQ's

VPS Hosting
Virtual Private Server

Semi-Dedicated Servers
Semi-Dedicated FAQ's

Dedicated Servers
Dedicated Server Hosting

Joomla Hosting
Joomla Web Hosting

Mambo Hosting
Mambo Web Hosting

Magento Hosting
Magento Web Hosting

Wordpress Hosting
Wordpress Web Hosting

 

Web Hosting Affiliate Program
 

popular blog categories

UK Web Hosting
UK Hosting articles

Dedicated Server Hosting
Dedicated Server guidelines

VPS Hosting
VPS hosting articles

cPanel Hosting
cPanel Hosting articles

Linux Operating System
Linux Operating techniques

Windows Web Hosting
Windows plesk articles