{"id":10295,"date":"2018-10-19T18:59:48","date_gmt":"2018-10-20T01:59:48","guid":{"rendered":"https:\/\/www.zubairalexander.com\/stage\/?p=10295"},"modified":"2018-10-19T19:17:37","modified_gmt":"2018-10-20T02:17:37","slug":"how-to-clear-the-dns-resolver-cache-and-flush-socket-pools-in-chrome-browser","status":"publish","type":"post","link":"https:\/\/www.zubairalexander.com\/blog\/how-to-clear-the-dns-resolver-cache-and-flush-socket-pools-in-chrome-browser\/","title":{"rendered":"How to Clear the DNS Resolver Cache and Flush Socket Pools in Chrome Browser"},"content":{"rendered":"<p>Once in a while you may have a need to clear the DNS host resolver cache in Google Chrome. This is typically useful if you are having connectivity issues with certain Web sites, or Web pages. You can also flush the socket pools, but this is normally not necessary. In addition to troubleshooting connectivity problems, sometimes these actions are taken for security reasons.<\/p>\n<p>The Chrome net-internal page capture events while the browser is running and then displays the data in real-time. You can look at various events, timeline, DNS resolver cache, socket pools and much more. In this article I will focus on the DNS cache and the socket pools.<\/p>\n<h4><strong>Clearing the Host Resolver Cache<\/strong><\/h4>\n<p>In your Chrome browser, go to the URL\u00a0<strong>chrome:\/\/net-internals\/#dns<\/strong>. Here you will find your DNS cache. By default, there is room for 1000 entries. You can see that under Capacity in the graphic below. You will see the state of the entries. In the screenshot below, out of the 1000 entries listed on this page, there are 997 expired entries and 3 active entries.<\/p>\n<p><a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2018\/10\/ClearChromeCache.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-10296\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2018\/10\/ClearChromeCache.png\" alt=\"Clear Chrome Host Resolver Cache\" width=\"477\" height=\"437\" srcset=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2018\/10\/ClearChromeCache.png 477w, https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2018\/10\/ClearChromeCache-300x275.png 300w\" sizes=\"(max-width: 477px) 100vw, 477px\" \/><\/a><\/p>\n<p>To clear the cache, click <strong>Clear host cache<\/strong>.<\/p>\n<h4><strong>Flushing the Socket Pools<\/strong><\/h4>\n<p>To flush the socket pools, go to\u00a0<strong>chrome:\/\/net-internals\/#sockets<\/strong>\u00a0and click <strong>Flush socket pools<\/strong>. If you are already on the DNS page, just select <strong>Sockets<\/strong> in the left hand column. Usually you don&#8217;t need to worry about flushing the socket pools.\u00a0In fact, if you don&#8217;t fully understand what sockets are and how they work then you should leave the socket pools alone because flushing the pools may break some of your pages that have active connections.<\/p>\n<p><a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2018\/10\/FlushSocketPool.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-10297\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2018\/10\/FlushSocketPool.png\" alt=\"\" width=\"1112\" height=\"447\" srcset=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2018\/10\/FlushSocketPool.png 1112w, https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2018\/10\/FlushSocketPool-300x121.png 300w, https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2018\/10\/FlushSocketPool-768x309.png 768w, https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2018\/10\/FlushSocketPool-1024x412.png 1024w\" sizes=\"(max-width: 1112px) 100vw, 1112px\" \/><\/a><\/p>\n<p>If you are familiar with sockets then under certain situations you may want to use this feature. Click <strong>View live sockets<\/strong>, select an SSL socket to see more information about the connection, such as:<\/p>\n<ul>\n<li>SSL certificate<\/li>\n<li>SSL handshake message<\/li>\n<li>Source and destination IP addresses, including port numbers<\/li>\n<li>Hash algorithm<\/li>\n<li>TLS version<\/li>\n<li>&#8230;&#8230;and lots of other information<\/li>\n<\/ul>\n<p>The captured data will be displayed on the right-hand pane in Chrome. This is the same type of data that is displayed by any packet sniffer (Network Monitor, Wireshark, etc.) that&#8217;s useful to network administrators, digital forensic investigators, and developers.<\/p>\n<p><a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2018\/10\/ViewActiveSocket.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-10298\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2018\/10\/ViewActiveSocket.png\" alt=\"View Active Sockets\" width=\"520\" height=\"432\" srcset=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2018\/10\/ViewActiveSocket.png 520w, https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2018\/10\/ViewActiveSocket-300x249.png 300w\" sizes=\"(max-width: 520px) 100vw, 520px\" \/><\/a><\/p>\n<p>If you have updated the information on an SSL certificate or rekeyed a certificate and you are having trouble connecting to a Web site that uses that certificate, you could review the socket connections and if necessary\u00a0<strong>Flush socket pools<\/strong>. The socket connections would be reestablished and it could help you reconnect to the Web site with the updated certificate. Because the socket connections are established and removed by the browser as necessary, you will see a lot of activity on the active sockets page.<\/p>\n<p>As I mentioned earlier, these actions can be helpful when you are troubleshooting Web connectivity issues. Most of the time you only need to clear the DNS resolver cache and there is no need to flush the socket pools.<\/p>\n<table>\n<tbody>\n<tr>\n<td style=\"background-color: #e3e3e3; text-align: left;\">Thanks for reading my article. If you are interested in IT training &amp; consulting services, please reach out to me. Visit <a href=\"https:\/\/www.zubairalexander.com\/\" target=\"_blank\" rel=\"noopener\">ZubairAlexander.com<\/a> for information on my professional background.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<p><span style=\"font-size: xx-small; font-family: Verdana;\">Copyright \u00a9 2018 <a href=\"https:\/\/www.seattlepro.com\/\" target=\"_blank\" rel=\"noopener\">SeattlePro Enterprises, LLC<\/a>. All rights reserved.<br \/>\n<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Once in a while you may have a need to clear the DNS host resolver cache in Google Chrome. This is typically useful if you are having connectivity issues with certain Web sites, or Web pages. You can also flush the socket pools, but this is normally not necessary. In addition to troubleshooting connectivity problems, [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":8601,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[43,25,44,11,66],"tags":[],"class_list":["post-10295","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-articles","category-browsers","category-internetweb","category-tips-tricks","category-troubleshooting"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2017\/08\/Security2.jpg","_links":{"self":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/posts\/10295","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/comments?post=10295"}],"version-history":[{"count":0,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/posts\/10295\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/media\/8601"}],"wp:attachment":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/media?parent=10295"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/categories?post=10295"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/tags?post=10295"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}