<?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; flush dns</title> <atom:link href="http://www.ghacks.net/tag/flush-dns/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>Network Troubleshooting Basics: The Ipconfig Command</title><link>http://www.ghacks.net/2011/05/17/network-troubleshooting-basics-the-ipconfig-command/</link> <comments>http://www.ghacks.net/2011/05/17/network-troubleshooting-basics-the-ipconfig-command/#comments</comments> <pubDate>Tue, 17 May 2011 07:40:11 +0000</pubDate> <dc:creator>Ryan D. Lang</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Mac]]></category> <category><![CDATA[troubleshooting]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[flush dns]]></category> <category><![CDATA[ifconfig]]></category> <category><![CDATA[IP address]]></category> <category><![CDATA[ipconfig]]></category> <category><![CDATA[network troubleshooting]]></category> <category><![CDATA[router]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=45207</guid> <description><![CDATA[This article is the second in a series of the basics of network troubleshooting. Last time, the ping command was demonstrated. Now the ipconfig command will be covered (the Linux/Mac ifconfig &#038; route commands will be touched on too). While this is a basic tutorial, there are some advanced tips and topics included. The Ipconfig [...]]]></description> <content:encoded><![CDATA[<p>This article is the second in a series of the basics of network troubleshooting.  Last time, the <a
href="http://www.ghacks.net/2011/05/12/network-troubleshooting-basics-the-ping-command/">ping command</a> was demonstrated.  Now the ipconfig command will be covered (the Linux/Mac ifconfig &#038; route commands will be touched on too). While this is a basic tutorial, there are some advanced tips and topics included.</p><p><strong>The Ipconfig Command Basics</strong></p><p>The <a
href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ipconfig.mspx?mfr=true">ipconfig</a> command gets its name from the acronym IP (<a
href="http://www.ghacks.net/2010/04/19/how-do-i-find-my-ip-address/">Internet Protocol</a>) and a shortened term for configure.  Understanding this served as a mnemonic device for me when I was first learning networking.  It is used to display and configure your connection to the Internet.  This tutorial will focus on the display and what that means.</p><p><strong>Deciphering the Information</strong></p><p>To get to ipconfig, we have to get to the command line.</p><ul><li>Click Start, click Run, type in &#8220;cmd&#8221; &#038; hit enter.</li><li>Type in ipconfig &#038; hit enter. (you can use <strong>ipconfig /all</strong> for detailed information)</li></ul><p>You will get a screen that looks like this.</p><p><img
src="http://www.ghacks.net/wp-content/uploads/2011/05/ipconfig-windows.jpg" alt="ipconfig windows" title="ipconfig windows" width="435" height="211" class="alignnone size-full wp-image-45208" /></p><p>To find your router&#8217;s IP number, look next to &#8220;Default Gateway&#8221; (listed last).  For a mnemonic, think of the router as your gateway to the Internet or another network.  To find your computers&#8217; IP number, look next to &#8220;IP Address&#8221;.  Do not worry about the other information like the subnet mask.</p><p>In this case, the computer number is 192.168.1.4 while 192.168.1.1 is the router number.  It is common for 192.168.1.1 or 192.168.0.1 to be the router&#8217;s IP address.  There are a few reasons for this, which were covered in a <a
href="http://www.ghacks.net/2011/04/29/why-your-home-router-is-192-168-1-1/">previous article</a>.</p><p><strong>Ping Your Router (Default Gate)</strong></p><p>We are using the ipconfig command so that we can get the IP number of the router.  As discussed at the end of  the last article on the ping command, we want to ping our router.  If we can ping it, then it should be working properly.</p><p>To do this, type in <strong>ping</strong> and the router (default gateway) number as shown.</p><p><img
src="http://www.ghacks.net/wp-content/uploads/2011/05/ping-router.png" alt="ping router" title="ping router" width="437" height="235" class="alignnone size-full wp-image-45209" /></p><p><strong>Some Possible Problems</strong></p><p>Consider a case where the connection to the Internet seems down.  If you cannot ping the router, or the ipconfig command says the default gateway is 0.0.0.0, then the problem may be in the router.  The first thing to check is whether the router is on and everything is plugged in.  The next thing to try would be to either restart the computer or to try and ping the router from another computer.  From here, you may want to call your ISP&#8217;s help line and let them know what you have tried.  An experienced user may restart the router; I have found that mine needs this from time to time.  For a beginner, it is better to get some help.  You will learn from the experience.</p><p>There is a possibility that your router may be failing.  That has happened to me once before.  Fortunately, a friend helped me troubleshoot the device, so stay in touch with networking pals.  The culprit may likely have been heat from a lack of proper ventilation.  Be sure your router has proper air flow.  While they may run warm, if they are hot to the touch, it may be bad for the device (check your manual or consult your manufacturer).</p><p><strong>ipconfig Command Line Options</strong></p><p>Ipconfig has several command line options that you can utilize. You can display all of them with the command <strong>ipconfig /?</strong>. Here is a short selection of the most common uses.</p><ul><li><em>ipconfig /release</em> &#8211; Releases all IPv4 addresses (requires DHCP)</li><li><em>ipconfig /renew</em> &#8211; Renews all IPv4 addresses (requires DHCP)</li><li><em>ipconfig /flushdns</em> &#8211; <a
href="http://www.ghacks.net/2011/03/13/how-to-flush-the-dns-cache-in-windows/">Flushes the DNS cache</a></li></ul><p><strong>Linux &#038; Mac Use Ifconfig &#038; Route -n</strong></p><p>For those running <a
href="http://www.ghacks.net/2010/04/20/how-do-i-find-my-network-information-in-linux/">Linux</a> or are on a Mac, the commands to use are <a
href="https://help.ubuntu.com/10.04/serverguide/C/network-configuration.html">ifconfig</a> and <a
href="http://manpages.ubuntu.com/manpages/hardy/man8/route.8.html">route -n</a>.  Is ifconfig identical to ipconfig?  No.  The ifconfig command will show you your computer&#8217;s IP number and other information.  You just type in the command, ifconfig, into the terminal to find out information about how your computer connects to the Internet.  To get your router&#8217;s IP number, you use the route command with a -n (netstat -r should work too).  Both are shown in the screen shots.  Make sure you use lowercase letter; the commands are case sensitive.  (Side Note: Linux also has a <a
href="http://linuxcommand.org/man_pages/iwconfig8.html">iwconfig</a> command for wireless specific tweaking (e.g. frequency).)</p><p><img
src="http://www.ghacks.net/wp-content/uploads/2011/05/Screenshot-ifconfig.png" alt="ifconfig" title="ifconfig" width="519" height="156" class="alignnone size-full wp-image-45210" /></p><p><img
src="http://www.ghacks.net/wp-content/uploads/2011/05/Screenshot-route.png" alt="route" title="route" width="330" height="100" class="alignnone size-full wp-image-45211" /></p><p>Just a note about the Mac <a
href="http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man8/ifconfig.8.html">ifconfig</a> command.  We are using it to view network settings, which is fine.  In doing research for this article, I read that it is <a
href="http://en.wikipedia.org/wiki/Ifconfig">not advised</a> to use this to change settings.  From what I read, it works, but with possible complications.</p><h3>Closing</h3><p>We use ipconfig to find the router&#8217;s IP number.  Once you have that, you can ping the router to test if it is responsive.  The problem with the ping command is that, while it is fast, is doesn&#8217;t give you a lot of information.  For that, we use the tracert command, which will be covered next.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2011/05/17/network-troubleshooting-basics-the-ipconfig-command/feed/</wfw:commentRss> <slash:comments>14</slash:comments> </item> <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>Find Out Which Sites Users Have Accessed In Private Browsing Modes</title><link>http://www.ghacks.net/2010/10/03/find-out-which-sites-users-accessed-in-private-browsing-modes/</link> <comments>http://www.ghacks.net/2010/10/03/find-out-which-sites-users-accessed-in-private-browsing-modes/#comments</comments> <pubDate>Sun, 03 Oct 2010 14:43:16 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Security]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[dns cache]]></category> <category><![CDATA[flush dns]]></category> <category><![CDATA[ipconfig]]></category> <category><![CDATA[privacy]]></category> <category><![CDATA[private browsing]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=35509</guid> <description><![CDATA[Private browsing, a relative new feature that allows users to hide their web activities. The modes basically block storage of browsing session data in the browser or the computer&#8217;s hard drive. This for instance means that no data is written to the cache or the cookie storage. Users naturally feel safer using that mode, but [...]]]></description> <content:encoded><![CDATA[<p>Private browsing, a relative new feature that allows users to hide their web activities. The modes basically block storage of browsing session data in the browser or the computer&#8217;s hard drive. This for instance means that no data is written to the cache or the cookie storage.</p><p>Users naturally feel safer using that mode, but that should not be the case. Why? Because there are means to find out which sites have been accessed in private browsing mode.</p><p>You see, one feature of the Windows operating system is a DNS cache, that stores domain name and IP links. Without going into to much details, the DNS cache records information about every website that the user opens in a web browser in Windows.</p><p>Curious Windows users just need to list the contents of the DNS cache to find out what websites a user has been visiting in private browsing mode. It may require some additional comparisons to find the private browsing mode websites, but that requires just some manual work and can be neglected.</p><p>Here is how you can display the contents of the DNS cache:</p><ul><li>Open a command prompt in Windows. The easiest way to do that is to press Windows-R, type cmd and the enter key.</li><li>Now type the command ipconfig /displaydns in the command prompt and hit enter.</li><li>This displays all websites that have been stored in the DNS cache. Please note that this includes everything, which means websites in all web browsers, regardless of whether they have been opened automatically (e.g. by a script on the site) or manually by the user.</li></ul><p><img
src="http://www.ghacks.net/wp-content/uploads/2010/10/display-dns-500x385.png" alt="display dns" title="display dns" width="500" height="385" class="alignnone size-medium wp-image-35510" /></p><p>Chance is the list is to large for the command line cache. You can use the command ipconfig /displaydns > dns.txt to save the output in the text document dns.txt. It is then possible to open the document in a text editor, to see all records. Opening it in a text editor has other advantages, like being able to search through the records.</p><p>Windows offers an option to flush the DNS cache so that all records are deleted from the cache. This is done with the command ipconfig /flushdns.</p><p><img
src="http://www.ghacks.net/wp-content/uploads/2010/10/flush-dns.png" alt="flush dns" title="flush dns" width="382" height="167" class="alignnone size-full wp-image-35511" /></p><p>Some programs (like CCleaner) offer options to delete the DNS Cache. It is also possible to write a simple batch file to delete it on shutdown. Let me know if you like an example script that does that.</p><p>Windows users who regularly work in private browsing mode should consider clearing their system&#8217;s DNS cache frequently to protect their privacy.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/10/03/find-out-which-sites-users-accessed-in-private-browsing-modes/feed/</wfw:commentRss> <slash:comments>8</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>
