{"id":115,"date":"2008-04-23T00:13:28","date_gmt":"2008-04-23T04:13:28","guid":{"rendered":"http:\/\/blogs.n1zyy.com\/andrew\/2008\/04\/23\/pharmacists\/"},"modified":"2008-04-23T00:13:28","modified_gmt":"2008-04-23T04:13:28","slug":"pharmacists","status":"publish","type":"post","link":"https:\/\/blogs.n1zyy.com\/andrew\/2008\/04\/23\/pharmacists\/","title":{"rendered":"Pharmacists"},"content":{"rendered":"<p>Tonight I installed <a href=\"http:\/\/www.thekelleys.org.uk\/dnsmasq\/doc.html\">dnsmasq<\/a> as a caching DNS forwarder on our home network (under a VM, no less). Additionally, I changed our primary DNS servers to those hosted by <a href=\"http:\/\/opendns.com\/\">OpenDNS<\/a>. To double-check that things were working, I figured I&#8217;d whip up a quick script to make a bunch of DNS requests and give an average time. First round, I faced the OpenDNS server against Cox&#8217;s own. I&#8217;d never really benchmarked the Cox DNS servers, so this was quite enlightening:<\/p>\n<pre>andrew@ubuntu-server-vm:~$ php .\/dns_bench.php dothedrew.net 208.67.222.222\nAverage response time: 27.53\nandrew@ubuntu-server-vm:~$ php .\/dns_bench.php dothedrew.net 68.105.28.11\nAverage response time: 158.58\n<\/pre>\n<p>This only serves to strengthen my belief that all cable ISPs are run by pharmacists.<\/p>\n<p>To satisfy morbid curiosity, here are the results against the local dnsmasq daemon:<\/p>\n<pre>andrew@ubuntu-server-vm:~$ php .\/dns_bench.php dothedrew.net 127.0.0.1\nAverage response time: 0.21\n<\/pre>\n<p>That&#8217;s only about, oh, a 755x improvement. Hopefully that&#8217;ll sufficiently speed things up.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tonight I installed dnsmasq as a caching DNS forwarder on our home network (under a VM, no less). Additionally, I changed our primary DNS servers to those hosted by OpenDNS. To double-check that things were working, I figured I&#8217;d whip up a quick script to make a bunch of DNS requests and give an average [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,11,14,25,30],"tags":[],"class_list":["post-115","post","type-post","status-publish","format-standard","hentry","category-brilliance","category-hacks","category-linux","category-rants","category-technology"],"_links":{"self":[{"href":"https:\/\/blogs.n1zyy.com\/andrew\/wp-json\/wp\/v2\/posts\/115","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.n1zyy.com\/andrew\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.n1zyy.com\/andrew\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/andrew\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/andrew\/wp-json\/wp\/v2\/comments?post=115"}],"version-history":[{"count":0,"href":"https:\/\/blogs.n1zyy.com\/andrew\/wp-json\/wp\/v2\/posts\/115\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.n1zyy.com\/andrew\/wp-json\/wp\/v2\/media?parent=115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/andrew\/wp-json\/wp\/v2\/categories?post=115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/andrew\/wp-json\/wp\/v2\/tags?post=115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}