{"id":368,"date":"2011-09-30T12:49:40","date_gmt":"2011-09-30T12:49:40","guid":{"rendered":"http:\/\/www.sitekickr.com\/blog\/?p=368"},"modified":"2011-09-30T12:49:40","modified_gmt":"2011-09-30T12:49:40","slug":"dns-slow-performance","status":"publish","type":"post","link":"https:\/\/www.sitekickr.com\/blog\/dns-slow-performance\/","title":{"rendered":"DNS performance slowing you down?"},"content":{"rendered":"<p>Many of us access the same website dozens or hundreds of times a day, making the combined total time that we wait for page requests a huge bottleneck to our productivity.<\/p>\n<p>One of the lesser considered reasons for lengthy page requests is DNS lookups. When you point your eyes to your browser status bar, and it reports &quot;Looking up <em>www.website.com<\/em>&quot;, you&#39;re in the middle of a DNS lookup.<\/p>\n<p>If you have any knowledge of DNS, you might ask, why isn&#39;t my Operating System&#39;s DNS cache working. I don&#39;t know the answer to that, but going back to the original issue &#8211; accessing a website frequently throughout the day &#8211; luckily, there&#39;s a solution.<\/p>\n<p>It&#39;s called the <strong>local hosts file<\/strong>. This file is sort of like it&#39;s own Domain Name server. Your operating system will perform a lookup on the local hosts file before sending of the request to remote DNS servers beyond your control.<\/p>\n<p>In windows, the hosts file is located at<em> C:\\Windows\\System32\\drivers\\etc\\hosts<\/em><\/p>\n<p>In OS X, Linux <em>\/etc\/hosts<\/em><\/p>\n<p>\n\tOpen up this file in a text editor. You&#39;ll likely already have at least one entry, called localhost. This line should demonstrate the basic syntax required to create an entry.<\/p>\n<p>So, for example, if your website is served from a web server at IP address 55.66.77.88, you would place the following line in your hosts file:<\/p>\n<p>55.66.77.88&nbsp;&nbsp;&nbsp; www.mywebsite.com<\/p>\n<p>Then, say good by to lengthy DNS lookups! At least from your PC.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Many of us access the same website dozens or hundreds of times a day, making the combined total time that we wait for page requests&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"amp_status":""},"categories":[41],"tags":[126],"_links":{"self":[{"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/posts\/368"}],"collection":[{"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/comments?post=368"}],"version-history":[{"count":0,"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/posts\/368\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/media?parent=368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/categories?post=368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/tags?post=368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}