<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Dns on Evan Hoffman</title><link>https://evan.wtf/tags/dns/</link><description>Recent content in Dns on Evan Hoffman</description><generator>Hugo</generator><language>en-US</language><copyright>Evan Hoffman</copyright><lastBuildDate>Mon, 26 Sep 2011 12:33:28 +0000</lastBuildDate><atom:link href="https://evan.wtf/tags/dns/index.xml" rel="self" type="application/rss+xml"/><item><title>Benchmarking DNS servers with Java</title><link>https://evan.wtf/2011/09/26/benchmarking-dns-servers-with-java/</link><pubDate>Mon, 26 Sep 2011 12:33:28 +0000</pubDate><guid>https://evan.wtf/2011/09/26/benchmarking-dns-servers-with-java/</guid><description>&lt;p&gt;I&amp;rsquo;m currently in the process of moving our DNS over to another provider and I was curious as to whether the old or new provider offers faster lookups. &lt;code&gt;dig&lt;/code&gt; shows query times, but I didn&amp;rsquo;t want to just run that over and over. I decided to write something to do this, in Java since I like Java. I found &lt;a href="http://mowyourlawn.com/blog/?p=8"&gt;this post,&lt;/a&gt; which has the meat of the work done already. I also read some of Sun&amp;rsquo;s &lt;a href="http://download.oracle.com/javase/1,5.0/docs/guide/jndi/jndi-dns.html"&gt;JNDI/DNS&lt;/a&gt; lookup info, which was pretty dense. All I want to do is specify the name server&amp;rsquo;s IP and do the lookup. I don&amp;rsquo;t even really care about the result, just how long the query takes.&lt;/p&gt;</description></item><item><title>Back on FiOS again (finally)</title><link>https://evan.wtf/2011/05/20/back-on-fios-again-finally/</link><pubDate>Fri, 20 May 2011 13:35:01 +0000</pubDate><guid>https://evan.wtf/2011/05/20/back-on-fios-again-finally/</guid><description>Well, that was quite an ordeal.</description></item><item><title>Going back to FiOS</title><link>https://evan.wtf/2011/04/24/going-back-to-fios/</link><pubDate>Sun, 24 Apr 2011 01:40:05 +0000</pubDate><guid>https://evan.wtf/2011/04/24/going-back-to-fios/</guid><description>&lt;p&gt;I&amp;rsquo;m not sure why these guys operate this way - they&amp;rsquo;re more than happy to lose me as a customer and then throw huge discounts at me to get me back. If they&amp;rsquo;d just give me a good price I&amp;rsquo;d love not to have to go through this rigmarole. But after being with Cablevision for 2 months I checked Verizon&amp;rsquo;s pricing and it beat my current deal with Cablevision.&lt;/p&gt;&#10;&lt;p&gt;FiOS digital voice with number ported for free; 25/25 Mbps internet; HMDVR free &amp;ldquo;forever&amp;rdquo; plus a second HD STB, Showtime, Movie Channel and Flix. Since I already had the battery thing installed last time I had FiOS they gave me a fair discount. Basically the whole package for $87/month + tax, price locked for 2 years, no contract. Not as great of a deal as I&amp;rsquo;d had with FiOS originally, but it&amp;rsquo;s pretty good, and FiOS&amp;rsquo;s service is definitely better than Cablevision&amp;rsquo;s. I&amp;rsquo;ve heard Cablevision was rolling out their &amp;ldquo;DVR plus&amp;rdquo; service with all programs recorded &amp;ldquo;in the cloud&amp;rdquo; rather than on the actual box, but it&amp;rsquo;s been two months and I haven&amp;rsquo;t heard of it coming to Long Island. So basically 2 years later Cablevision&amp;rsquo;s service is exactly the same while Verizon has iPhone apps to control the DVR and use the phone as a remote, plus DVR that&amp;rsquo;s much faster and just generally better service.&lt;/p&gt;</description></item><item><title>More fun parsing BIND query logs</title><link>https://evan.wtf/2010/12/13/more-fun-parsing-bind-query-logs/</link><pubDate>Mon, 13 Dec 2010 18:21:59 +0000</pubDate><guid>https://evan.wtf/2010/12/13/more-fun-parsing-bind-query-logs/</guid><description>&lt;p&gt;&amp;ldquo;But wouldn&amp;rsquo;t it be cool if it also&amp;hellip;&amp;rdquo; That phrase usually triggers a lot of wasted cycles in my brain, though it sometimes comes up with something neat. I added a super lame graph to the DNS QPS parser. Makes it really easy to see peaks &amp;amp; troughs in usage:&lt;/p&gt;&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;2010-12-12 00:00 to 00:59 =&amp;gt; 3237, rate 0.899 queries/sec&#9;***********&#10;2010-12-12 01:00 to 01:59 =&amp;gt; 2709, rate 0.752 queries/sec&#9;**********&#10;2010-12-12 02:00 to 02:59 =&amp;gt; 2473, rate 0.687 queries/sec&#9;*********&#10;2010-12-12 03:00 to 03:59 =&amp;gt; 2171, rate 0.603 queries/sec&#9;********&#10;2010-12-12 04:00 to 04:59 =&amp;gt; 2048, rate 0.569 queries/sec&#9;*******&#10;2010-12-12 05:00 to 05:59 =&amp;gt; 1918, rate 0.533 queries/sec&#9;*******&#10;2010-12-12 06:00 to 06:59 =&amp;gt; 2120, rate 0.589 queries/sec&#9;********&#10;2010-12-12 07:00 to 07:59 =&amp;gt; 2477, rate 0.688 queries/sec&#9;*********&#10;2010-12-12 08:00 to 08:59 =&amp;gt; 2994, rate 0.832 queries/sec&#9;**********&#10;2010-12-12 09:00 to 09:59 =&amp;gt; 3704, rate 1.029 queries/sec&#9;*************&#10;2010-12-12 10:00 to 10:59 =&amp;gt; 4297, rate 1.194 queries/sec&#9;***************&#10;2010-12-12 11:00 to 11:59 =&amp;gt; 4744, rate 1.318 queries/sec&#9;****************&#10;2010-12-12 12:00 to 12:59 =&amp;gt; 5106, rate 1.418 queries/sec&#9;******************&#10;2010-12-12 13:00 to 13:59 =&amp;gt; 5311, rate 1.475 queries/sec&#9;******************&#10;2010-12-12 14:00 to 14:59 =&amp;gt; 5083, rate 1.412 queries/sec&#9;*****************&#10;2010-12-12 15:00 to 15:59 =&amp;gt; 4855, rate 1.349 queries/sec&#9;*****************&#10;2010-12-12 16:00 to 16:59 =&amp;gt; 5179, rate 1.439 queries/sec&#9;******************&#10;2010-12-12 17:00 to 17:59 =&amp;gt; 4959, rate 1.377 queries/sec&#9;*****************&#10;2010-12-12 18:00 to 18:59 =&amp;gt; 4693, rate 1.304 queries/sec&#9;****************&#10;2010-12-12 19:00 to 19:59 =&amp;gt; 4792, rate 1.331 queries/sec&#9;****************&#10;2010-12-12 20:00 to 20:59 =&amp;gt; 4799, rate 1.333 queries/sec&#9;****************&#10;2010-12-12 21:00 to 21:59 =&amp;gt; 5068, rate 1.408 queries/sec&#9;*****************&#10;2010-12-12 22:00 to 22:59 =&amp;gt; 4672, rate 1.298 queries/sec&#9;****************&#10;2010-12-12 23:00 to 23:59 =&amp;gt; 4514, rate 1.254 queries/sec&#9;****************&#10;2010-12-13 00:00 to 00:59 =&amp;gt; 3917, rate 1.088 queries/sec&#9;**************&#10;2010-12-13 01:00 to 01:59 =&amp;gt; 3458, rate 0.961 queries/sec&#9;************&#10;2010-12-13 02:00 to 02:59 =&amp;gt; 2874, rate 0.798 queries/sec&#9;**********&#10;2010-12-13 03:00 to 03:59 =&amp;gt; 2715, rate 0.754 queries/sec&#9;**********&#10;2010-12-13 04:00 to 04:59 =&amp;gt; 2690, rate 0.747 queries/sec&#9;*********&#10;2010-12-13 05:00 to 05:59 =&amp;gt; 2719, rate 0.755 queries/sec&#9;**********&#10;2010-12-13 06:00 to 06:59 =&amp;gt; 2831, rate 0.786 queries/sec&#9;**********&#10;2010-12-13 07:00 to 07:59 =&amp;gt; 3416, rate 0.949 queries/sec&#9;************&#10;2010-12-13 08:00 to 08:59 =&amp;gt; 4962, rate 1.378 queries/sec&#9;*****************&#10;2010-12-13 09:00 to 09:59 =&amp;gt; 6943, rate 1.929 queries/sec&#9;************************&#10;2010-12-13 10:00 to 10:59 =&amp;gt; 8296, rate 2.304 queries/sec&#9;****************************&#10;2010-12-13 11:00 to 11:59 =&amp;gt; 8938, rate 2.483 queries/sec&#9;******************************&#10;2010-12-13 12:00 to 12:59 =&amp;gt; 8926, rate 2.479 queries/sec&#9;******************************&#10;2010-12-13 13:00 to 13:59 =&amp;gt; 8950, rate 2.486 queries/sec&#9;******************************&#10;2010-12-13 14:00 to 14:59 =&amp;gt; 2173, rate 0.604 queries/sec&#9;********&#10;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;You can see pretty quickly that 4-5 AM (Eastern) is the period of lowest activity, as you&amp;rsquo;d probably expect for a US-based US-centric site. Modified perl script below.&lt;/p&gt;</description></item><item><title>Perl script to calculate DNS queries per second in BIND (named)</title><link>https://evan.wtf/2010/12/07/perl-script-to-calculate-dns-queries-per-second-in-bind-named/</link><pubDate>Tue, 07 Dec 2010 18:53:43 +0000</pubDate><guid>https://evan.wtf/2010/12/07/perl-script-to-calculate-dns-queries-per-second-in-bind-named/</guid><description>&lt;p&gt;I&amp;rsquo;m pricing out DNS providers and was asked what our current queries-per-second currently are. Sadly I had no idea. After lots of Googling I decided there was really no good way to get this information so I decided to parse the logfile myself.&#10;First, I turned on logging with timestamp in named.conf:&lt;/p&gt;&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;logging&#10;{&#10;...&#10; # Query logging 2010-12-07&#10; channel query-log {&#10; file &amp;#34;data/queries.log&amp;#34; versions 3 size 10m;&#10; print-time yes;&#10; };&#10; category queries { query-log; };&#10;};&#10;options&#10;{&#10;...&#10; # Query logging 2010-12-07&#10; querylog yes;&#10;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;};&lt;/p&gt;</description></item><item><title>Outlook 2007 &amp; Exchange 2010 Autodiscover SSL certificate error annoyance</title><link>https://evan.wtf/2010/07/27/outlook-2007-exchange-2010-autodiscover-ssl-certificate-error-annoyance/</link><pubDate>Tue, 27 Jul 2010 11:51:54 +0000</pubDate><guid>https://evan.wtf/2010/07/27/outlook-2007-exchange-2010-autodiscover-ssl-certificate-error-annoyance/</guid><description>&lt;p&gt;One of the more annoying side effects of migrating my mailbox to Exchange 2010 has been the nagging of Outlook 2007&amp;rsquo;s Autodiscovery feature. Now, every time I start Outlook I get hit with a certificate error for autodiscover.domain.com. Now, autodiscover.domain.com is a CNAME to mail.domain.com, which is the OWA URL for the CAS. The SSL certificate is valid - but it&amp;rsquo;s valid for mail.domain.com. I could buy &lt;a href="http://affiliate.godaddy.com/redirect/57C9CDCFC2D9286731DFC80559FF75B02AA47A2EADDA2D5CC2407E21C4FBC792" title="Go Daddy $12.99 SSL Sale!"&gt;a SSL certificate from GoDaddy for $12.99&lt;/a&gt; (an insanely great price, btw) for &amp;ldquo;autodiscover&amp;rdquo; but that would also require using another IP address on the CAS (since you can can only bind one SSL certificate to an IP:port pair), and that seems like a waste of an IP address.&lt;/p&gt;</description></item></channel></rss>