<?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>thinking sysadmin &#187; opendns</title>
	<atom:link href="http://andyleonard.com/tag/opendns/feed/" rel="self" type="application/rss+xml" />
	<link>http://andyleonard.com</link>
	<description>qstat -u aleonard -s z</description>
	<lastBuildDate>Sun, 22 Jan 2012 03:46:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>What&#8217;s Wrong With OpenDNS</title>
		<link>http://andyleonard.com/2011/12/20/whats-wrong-with-opendns/</link>
		<comments>http://andyleonard.com/2011/12/20/whats-wrong-with-opendns/#comments</comments>
		<pubDate>Tue, 20 Dec 2011 13:54:55 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[dns]]></category>
		<category><![CDATA[content filtering]]></category>
		<category><![CDATA[opendns]]></category>

		<guid isPermaLink="false">http://andyleonard.com/?p=703</guid>
		<description><![CDATA[First off, before I get to anything that&#8217;s wrong, there&#8217;s a lot that&#8217;s right about OpenDNS: It&#8217;s a simple, effective and flexible tool for content filtering. As a company, they&#8217;re trying to improve the state of DNS for end users with tools like DNSCrypt. You can&#8217;t beat their entry-level price &#8211; free. Their anycast network [...]]]></description>
			<content:encoded><![CDATA[<p>First off, before I get to anything that&#8217;s wrong, there&#8217;s a lot that&#8217;s right about OpenDNS: It&#8217;s a simple, effective and flexible tool for content filtering.  As a company, they&#8217;re trying to improve the state of DNS for end users with tools like <a href="http://www.opendns.com/technology/dnscrypt/">DNSCrypt</a>.  You can&#8217;t beat their entry-level price &#8211; free.  Their <a href="http://www.opendns.com/technology/network-map/">anycast network</a> is good, especially if you&#8217;re on the west coast of the United States, like I am (in fact, it&#8217;s better for me than surely-much-larger Google&#8217;s 8.8.8.8 and 8.8.4.4).  Their dashboard is pretty neat, too.</p>
<p>Second, let&#8217;s get the most common complaint about OpenDNS &#8211; one that isn&#8217;t going to be discussed here any further &#8211; out of the way: Their practice of returning ads on blocked or non-existent sites in your browser, via a bogus A RR of 67.215.65.132 (if you don&#8217;t go with one of their paid options).  OpenDNS is upfront about doing this, so you can decide if the trade-off is worthwhile before you sign up &#8211; and you can quit using them any time you want.</p>
<p>Those two preliminaries covered, here&#8217;s a case study of what I think is a serious problem with OpenDNS, plus some thoughts on how they could fix it.<br />
<span id="more-703"></span><br />
Background: Recently, I helped my wife buy a domain for a personal blog; it turns out OpenDNS has tagged this domain as pornographic.  Currently, the domain hosts nothing beyond an empty WordPress blog.  </p>
<p>I can think of three possible scenarios that could be in effect here:</p>
<ol>
<li><strong>The site has been compromised.</strong>  This was my first thought, although I now consider it unlikely.  I&#8217;ve gone through the site and the logs pretty closely, and have been unable to find anything amiss.  I&#8217;m willing to leave the possibility open that I missed something, though.</li>
<li><strong>The domain used to be pornographic, but is no longer.</strong>  This also appears unlikely, at least based on archive.org and other sites; the domain name itself also doesn&#8217;t exactly suggest a porn site, either, unless there&#8217;s some obscure slang I&#8217;m unaware of.</li>
<li><strong>The OpenDNS classification is incorrect.</strong>  The domain was accidentally or intentionally mislabeled.  It appears most classification &#8211; especially for small sites like the one in question &#8211; is crowd-sourced, but only a few members of the &#8220;crowd&#8221; might tag a small site.</li>
</ol>
<p>It&#8217;s unclear which of the above went wrong, but there are several obvious ideas that OpenDNS could implement to address this class of problems:</p>
<ol>
<li><strong>More metadata, please.</strong>  For my &#8220;pornographic&#8221; domain, it would have been nice to know when it was tagged as such, what the DNS servers and relevant records were when it was tagged, what a screenshot looked like then (not now), and what the registrar data was.  If it was a site compromise, this data would make my finding it that much easier.  If the classification is stale, metadata would make this obvious as well.</li>
<li><strong>Automatically-triggered classification reviews.</strong>  If there are substantial changes to a domain&#8217;s registrar entry, that should trigger an automatic review of the site &#8211; especially so if the domain registration lapses, and another party purchases the domain after a period of time.  The volume of users whitelisting a site in the control panel should be another signal of misclassification, although this probably won&#8217;t help obscure sites.  This is an obvious, simple fix, and perhaps OpenDNS has something like this in place, but I don&#8217;t see any signs of it.</li>
<li><strong>A better user interface.</strong>  When I first visited their tagging interface, the thumbnail viewer was broken, and the &#8220;flag for review&#8221; link was missing.  Both later reappeared, apparently functional, although I have no idea if or when a review will actually take place.</li>
<li><strong>Better policing of community members.</strong>  Some of the OpenDNS Community&#8217;s most prolific members tag in excess of 1,000 domains on an average day.  Many of these tags appear to be of dubious quality, going far beyond anything that could be called a difference of opinion into the realm of flat-out wrong.  Poor quality &#8211; or malicious &#8211; tagging is damaging OpenDNS&#8217;s product; I&#8217;m surprised they don&#8217;t appear more strongly motivated to address this.</li>
</ol>
<p>For now, I&#8217;m going to continue to use OpenDNS&#8217;s services at home, although I&#8217;m on the lookout for a better product elsewhere.  But until I see some signs that they&#8217;re addressing the issue of incorrect tags, I can no longer recommend them for professional use, which is too bad; as I said in the first paragraph, there&#8217;s a lot to like about OpenDNS.</p>
<p><strong>Update, 1/2/2012:</strong> It&#8217;s been a couple weeks since I flagged the domain for OpenDNS&#8217;s review &#8211; and nothing has happened.  I think it&#8217;s fair to update my conclusion: OpenDNS has a garbage-in, garbage-out problem and does not appear to be invested in the quality of their product; look elsewhere for a content-filtering tool that goes beyond hobbyist quality.</p>
]]></content:encoded>
			<wfw:commentRss>http://andyleonard.com/2011/12/20/whats-wrong-with-opendns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Test Driving Google Public DNS (Updated with OpenDNS comparison)</title>
		<link>http://andyleonard.com/2009/12/03/test-driving-google-publi-dns/</link>
		<comments>http://andyleonard.com/2009/12/03/test-driving-google-publi-dns/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 19:31:16 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[comcast]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[opendns]]></category>

		<guid isPermaLink="false">http://andyleonard.com/?p=414</guid>
		<description><![CDATA[Google announced its Public DNS service this morning, claiming enhanced performance and security; I took it for a brief test drive with the following results. (See bottom of post for an update running similar tests on OpenDNS.) Methods: I searched Google for keywords that I believed fell somewhere between obscure and common and collected the [...]]]></description>
			<content:encoded><![CDATA[<p>Google announced its <a href="http://code.google.com/speed/public-dns/">Public DNS</a> service this morning, claiming enhanced <a href="http://code.google.com/speed/public-dns/docs/performance.html">performance</a> and <a href="http://code.google.com/speed/public-dns/docs/security.html">security</a>; I took it for a brief test drive with the following results.</p>
<p>(See bottom of post for an update running similar tests on OpenDNS.)</p>
<p><strong>Methods:</strong> I searched Google for <a href="http://www.google.com/search?q=lightweight+backpacking">keywords</a> that I believed fell somewhere between obscure and common and collected the first ten hostnames printed on the screen.  I then used local installations of dig to query a collection of DNS servers for the hostnames&#8217; A records and collected the response times.  The different resolvers used were:</p>
<ul>
<li>A local BIND installation (127.0.0.1, cache empty) with Comcast Internet connectivity;</li>
<li>A Comcast DNS server (68.87.69.150) via Comcast Internet connectivity;</li>
<li>My employer&#8217;s internal caching DNS;</li>
<li>Google (8.8.8.8) via my employer&#8217;s Internet connectivity (mostly Level 3);</li>
<li>Google (8.8.8.8) via Comcast; and</li>
<li>Google (8.8.8.8) via an Amazon EC2 instance in us-east-1a.</li>
</ul>
<p>Anticipating a bimodal distribution of results, I assumed high latency responses were cache misses, while low latency responses were cache hits, and categorized results correspondingly.<br />
<span id="more-414"></span><br />
<strong>Limitations:</strong> Chiefly, the small number of hostnames queried.  Results from a larger group of domains would be more conclusive.</p>
<p><strong>Results:</strong> Given in the format of Server/Connectivity: Cache Miss/Cache Hit</p>
<ul>
<li>Local BIND server/Comcast: 319ms/0ms</li>
<li>Comcast/Comcast: 166ms/14ms</li>
<li>Google/Comcast: no misses/73ms</li>
<li>Employer/Level 3: 235ms/30ms</li>
<li>Google/Level 3: 204ms/44ms</li>
<li>Google/EC2: 190ms/4ms</li>
</ul>
<p>I concluded that Google/Comcast had no misses by testing another set of obscure hostnames twice each, noting that the first query was slower (~120ms) and the second query was similar in latency to the results above (70ms).  (My belief is that I inadvertently pre-populated the cache for Google/Comcast by my tests elsewhere.)</p>
<p><strong>Discussion:</strong></p>
<ul>
<li><strong>It&#8217;s all about cache hits.</strong>  Whichever resolver gives you the most cache hits will give you the best performance; cache misses are at least an order of magnitude slower than cache hits.  In this extremely limited test, the cache-hits-champion appears to be Google.  Excluding Google/Comcast, where I believe I pre-populated Google&#8217;s cache, Google had a 50% cache hit rate, while Comcast and my Employer only hit 20%.
<li><strong>Location, location, location.</strong>  Secondary to cache hits, the closer the resolver is to you, the better.  Looking at the Comcast results, it&#8217;s hard to get closer than localhost, and, as seems logical, Comcast&#8217;s resolvers have lower cached latency than Google&#8217;s.  <strong>Running a local caching resolver forwarding to Google may be a desirable configuration.</strong></li>
<li><strong>Resolver behavior matters.</strong>  Comcast is notorious for <a href="http://www.dslreports.com/shownews/Comcast-DNS-Redirection-Goes-Nationwide-103762">poor behavior</a>.  It&#8217;s reasonable to expect that Google will be mining your DNS query data.  <strong>Running a slower but directly-controlled local, non-forwarding server may be preferable for privacy and security reasons.</strong></li>
</ul>
<p><strong>Update:</strong>  At the <a href="http://twitter.com/tscalzott/status/6313122948">suggestion</a> of <a href="http://twitter.com/tscalzott">@tscalzott</a>, I researched OpenDNS&#8217;s performance with the same set of hostnames via the same connectivity on their DNS resolvers at 208.67.222.222.  This time, however, I queried the A record for each hostname twice in rapid succession to ascertain how many of my queries were served from OpenDNS&#8217;s cache.  Results are in the format:</p>
<p>DNS Server/Connectivity: Cache miss/Cache hit &#8211; cache hit rate</p>
<ul>
<li>OpenDNS/Comcast: 218ms/30ms &#8211; 20%</li>
<li>OpenDNS/EC2: 144ms/2ms &#8211; 10%</li>
<li>OpenDNS/Level 3: 230ms/4ms &#8211; 40%</li>
</ul>
<p>Compared to Google, OpenDNS had similar latency for cache misses and lower latency for cache hits, but appears to possibly have a lower cache hit rate.  It seems likely that the latency &#8220;winner&#8221; for each user&#8217;s individual situation will depend on where they are on the Internet relative to the nearest Google and OpenDNS installations.  Google&#8217;s greater cache hit rate suggests it may offer better service, but testing a larger number of hostnames would be necessary before being able to state that with any certainty.</p>
<p><strong>Disclosure:</strong> I use Google&#8217;s free Apps services to host personal email, and I use their public sites (Search, Reader, News, Analytics, etc.) extensively.  I recently attended a Google Apps for the Enterprise dog-and-pony show where I received a number of small tchotchkes; my wife took the notebook, I kept the pen and binder and threw the rest away.  My employer uses Postini.  I tried OpenDNS briefly several months back, but did not use them long-term because of limitations in my own configuration.</p>
]]></content:encoded>
			<wfw:commentRss>http://andyleonard.com/2009/12/03/test-driving-google-publi-dns/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

