<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>gHacks Technology News &#124; Latest Tech News, Software And Tutorials &#187; dns client</title> <atom:link href="http://www.ghacks.net/tag/dns-client/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Sat, 11 Feb 2012 09:52:46 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>How To Flush The DNS Cache In Windows</title><link>http://www.ghacks.net/2011/03/13/how-to-flush-the-dns-cache-in-windows/</link> <comments>http://www.ghacks.net/2011/03/13/how-to-flush-the-dns-cache-in-windows/#comments</comments> <pubDate>Sun, 13 Mar 2011 09:41:40 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[dns cache]]></category> <category><![CDATA[dns client]]></category> <category><![CDATA[flush dns]]></category> <category><![CDATA[windows tips]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=42439</guid> <description><![CDATA[The Microsoft Windows operating system stores all DNS look-ups in a cache to speed up the connection for future visits to previously visited websites or servers. DNS for simplifications sake turns domain names like ghacks.net into IP addresses like 96.30.22.116. To simplify it further: computer users make almost exclusive use of domain names, while computers [...]]]></description> <content:encoded><![CDATA[<p>The Microsoft Windows operating system stores all DNS look-ups in a cache to speed up the connection for future visits to previously visited websites or servers. DNS for simplifications sake turns domain names like ghacks.net into IP addresses like 96.30.22.116. To simplify it further: computer users make almost exclusive use of domain names, while computers and devices of IP addresses.</p><p>The DNS provider is queried during each connection attempt unless the information are already stored in the cache.</p><p>You may want to know why someone would want to flush the DNS cache? Lets say you have decided to switch from your provider&#8217;s DNS server to <a
href="http://www.opendns.com/">Open DNS</a>, <a
href="http://code.google.com/speed/public-dns/">Google DNS</a> or another free service that promise faster speeds and little extras like user-configured site filtering. If you switch during a session, you will be using old data from the cache if you access sites that you have already visited.</p><p>Not a big problem? You may be right, but think about the following situation. A webmaster migrates the website to a new server. It can take up to 48 hours before all DNS servers redirect users to the website on the new server and not the old server. Some webmasters change their DNS server before migrating if the ISP&#8217;s DNS server is known to be on the slow site when it comes to updating information (another option for webmasters is to <a
href="http://www.ghacks.net/2009/11/28/work-on-websites-before-dns-propagation/">edit the hosts file</a>).</p><p>The DNS cache can have privacy implications as well, especially on public computer systems or multi-user systems. It is possible to display the contents of the cache, which in turn reveals all the websites that have been visited by the user in the session. Flushing the cache removes the entries so that the next user won&#8217;t be able to see a list of visited websites.</p><h3>Flushing the DNS Cache</h3><p>On to the commands. Windows users need to open a command prompt to flush the DNS cache. The easiest way to do that is to press <strong>Windows-r</strong>, type <strong>cmd</strong>, and hit the <strong>enter</strong> key.</p><p>The command <strong>ipconfig /flushdns</strong> clears the DNS cache. All records up to this point in time are removed from the cache.</p><blockquote><p>C:\Users\Martin>ipconfig /flushdns<br
/> Windows IP Configuration<br
/> Successfully flushed the DNS Resolver Cache.</p></blockquote><p><a
href="http://www.ghacks.net/wp-content/uploads/2011/03/ipconfig-flushdns.png"><img
src="http://www.ghacks.net/wp-content/uploads/2011/03/ipconfig-flushdns.png" alt="ipconfig flushdns" title="ipconfig flushdns" width="378" height="131" class="alignnone size-full wp-image-42442" /></a></p><h3>Displaying the DNS Cache</h3><p>You can test if the DNS cache has been flushed with the command <strong>ipconfig /displaydns</strong>. Please note that the command may still display entries, but those are new entries that have been added to the cache after it has been flushed. Antivirus software may for instance connect automatically to update servers.</p><blockquote><p>C:\Users\Martin>ipconfig /displaydns<br
/> Windows IP Configuration</p></blockquote><p><a
href="http://www.ghacks.net/wp-content/uploads/2011/03/ipconfig-displaydns.png"><img
src="http://www.ghacks.net/wp-content/uploads/2011/03/ipconfig-displaydns.png" alt="ipconfig displaydns" title="ipconfig displaydns" width="453" height="426" class="alignnone size-full wp-image-42443" /></a></p><h3>Turning Off DNS Caching</h3><p>DNS caching can be turned off for a session or completely. The negative effects are that look-ups may take longer, especially in computer networks with connected network shares and devices. Computer workstations without network connections on the other hand are likely not negatively effected by the operation. It is probably best to experiment with the setting first, by disabling it temporarily for a session.</p><p>The command to stop the DNS Cache for the active session is <strong>net stop dnscache</strong>. Please note that you need administrative privileges to run the command successfully. Windows 7 users can do that by clicking on the start menu orb, selecting All Programs > Accessories, right-clicking on Command Prompt and selecting Run as Administrator. The path should be similar for other versions of Windows.</p><blockquote><p>c:\windows\system32>net stop dnscache<br
/> The DNS Client service is stopping<br
/> The DNS Client service was stopped successfully.</p></blockquote><p><a
href="http://www.ghacks.net/wp-content/uploads/2011/03/stop-dns-client-service.png"><img
src="http://www.ghacks.net/wp-content/uploads/2011/03/stop-dns-client-service.png" alt="stop dns client service" title="stop dns client service" width="401" height="112" class="alignnone size-full wp-image-42445" /></a></p><p>You can start the DNS client service again with the command <strong>net start dnscache</strong>.</p><p>The previous instructions turned off the DNS cache for a single session. A restart would load it as a service again. It is however possible to turn off the DNS cache completely. This is done with the shortcut <strong>Windows-r</strong>, typing <strong>services.msc</strong> and hitting <strong>enter</strong>.</p><p>Locate the service DNS Client in the listing and double-click it. The window that opens offers controls to stop the service for the current session, and to change its startup type from manual to disabled.</p><p><a
href="http://www.ghacks.net/wp-content/uploads/2011/03/dns-client-service.png"><img
src="http://www.ghacks.net/wp-content/uploads/2011/03/dns-client-service.png" alt="dns client service" title="dns client service" width="420" height="474" class="alignnone size-full wp-image-42446" /></a></p><p>Disabled means that it won&#8217;t be started with Windows, which effectively disables the DNS Cache permanently. Another benefit of this is that other users are not able to display the DNS cache to retrieve a list of visited websites and servers.</p><p>Windows users who are thinking about disabling the DNS Cache permanently should test it first by disabling the cache for the session. If they do not notice performance drops or slower than usual connections they could go ahead and disable the cache completely.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2011/03/13/how-to-flush-the-dns-cache-in-windows/feed/</wfw:commentRss> <slash:comments>9</slash:comments> </item> <item><title>Could not flush the DNS Resolver Cache</title><link>http://www.ghacks.net/2009/06/28/could-not-flush-the-dns-resolver-cache/</link> <comments>http://www.ghacks.net/2009/06/28/could-not-flush-the-dns-resolver-cache/#comments</comments> <pubDate>Sun, 28 Jun 2009 19:55:08 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Software]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[dns]]></category> <category><![CDATA[dns client]]></category> <category><![CDATA[dns resolver cache]]></category> <category><![CDATA[flush dns]]></category> <category><![CDATA[ipconfig]]></category> <category><![CDATA[ipconfig flushdns]]></category> <category><![CDATA[windows dns]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=13959</guid> <description><![CDATA[The DNS Client service is used by the Windows operating system to resolve and store domain name system names in order to speed up the process. There are a few possible pitfalls that users experience when using the DNS cache in the Windows operating system. It can for example mean that old DNS information are [...]]]></description> <content:encoded><![CDATA[<p><img
src="http://www.ghacks.net/wp-content/uploads/2009/04/microsoft_windows.jpg" alt="microsoft windows" title="microsoft windows" width="128" height="128" class="alignleft size-full wp-image-11907" />The DNS Client service is used by the Windows operating system to resolve and store domain name system names in order to speed up the process. There are a few possible pitfalls that users experience when using the DNS cache in the Windows operating system. It can for example mean that old DNS information are used which can lead to all kind of troubles. The <strong>ipconfig /flushdns</strong> command can be used to flush the dns cache in order to resolve the domain names anew.</p><p>Users who try to flush the dns cache might receive the error message &#8220;Windows IP Configuration Could not flush the DNS Resolver Cache: Function failed during execution&#8221; if the DNS Client service is deactivated.</p><p><span
id="more-13959"></span><img
src="http://www.ghacks.net/wp-content/uploads/2009/06/could_not_flush_the_dns_resolver_cache-500x64.jpg" alt="could not flush the dns resolver cache" title="could not flush the dns resolver cache" width="500" height="64" class="alignnone size-medium wp-image-13960" /></p><p>The solution to fix this error message is to enable the DNS Client service again in the Services configuration menu. I&#8217;m not sure if it makes that much sense to flush the cache if the DNS Client is disabled as it should mean that Windows is not resolving and storing DNS at all. Experts who might to weight in are encouraged to do so.</p><p>You can start the service by typing [Windows R], [services.msc] [enter]. Locate the DNS Client service, right-click it and select properties from the menu.</p><p><img
src="http://www.ghacks.net/wp-content/uploads/2009/06/dns_client.jpg" alt="dns client" title="dns client" width="410" height="466" class="alignnone size-full wp-image-13963" /></p><p>You need to set the service to manual or automatic before you are able to start the service.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/06/28/could-not-flush-the-dns-resolver-cache/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> </channel> </rss>
