<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>Out of all possible futures, this is the one we’re in</description><title>nullrend</title><generator>Tumblr (3.0; @nullrend)</generator><link>http://nullrend.com/</link><item><title>Mexico City</title><description>&lt;p&gt;So I’m looking for a place to live and a place to work in Mexico City. Got any ideas? &lt;a title="nullrend" href="http://twitter.com/nullrend"&gt;Contact me on twitter&lt;/a&gt;.&lt;/p&gt;</description><link>http://nullrend.com/post/439525232</link><guid>http://nullrend.com/post/439525232</guid><pubDate>Wed, 10 Mar 2010 12:26:09 -0800</pubDate></item><item><title>Cablemas DNS</title><description>&lt;p&gt;So it seems cablemas decided to block DNS requests (port 53) going out of their network. I’m not sure if they’re doing this at the network level — which would be extremely stupid on their part — or by reconfiguring their modem. Either way this means:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Cannot use OpenDNS or Google Public DNS for domain resolution.&lt;/li&gt;
&lt;li&gt;I’m forced to use Cablemas DNS servers. They are very, very slow. Most lookups are above 20s, with 30s-40s latency being common.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Since DNS queries take long to resolve, internet connectivity is slow as hell. Enter DNS caching (DNS proxy).&lt;/p&gt;
&lt;p&gt;Most DNS servers can do caching on the side (BIND, djbdns, dnsmasq) without too much additional work. The problem is most of the time the cache disappears when the computer is rebooted. If your system is a server, you’re fine. But what if you’re on a laptop or a desktop? It’s no good having a cache if you have to rebuild it every day.&lt;/p&gt;
&lt;p&gt;There isalso the fact the electric system in Mexico isn’t the best, so often computers go down hard when the electricity fails. UPS units are expensive to put them on a single desktop computer.&lt;/p&gt;
&lt;p&gt;So that’s when I discovered &lt;a href="http://www.phys.uu.nl/~rombouts/pdnsd.html"&gt;pdnsd&lt;/a&gt;. It’s a light DNS proxy that can act as a caching system, working on localhost to speed up queries.&lt;/p&gt;
&lt;p&gt;Being on Debian Sid, all I had to do to install it was&lt;/p&gt;
&lt;p&gt;&lt;code&gt;# aptitude install pdnsd&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;When asked which mode to use, I chose ‘manual’. When it was done I added my ISP’s DNS servers like so to &lt;code&gt;/etc/pdnsd.conf&lt;/code&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;server {
        label=cablemas;
        ip=200.95.144.3;
        ip=10.147.0.43;
        ip=10.147.0.15;
        timeout=30;
        uptest=ping;
        ping_timeout= 300;
}&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You’re free to use other DNS resolvers like OpenDNS or Google Public DNS obviously. The caching will work regardless of what upstream server does the actual resolving.&lt;/p&gt;
&lt;p&gt;Then set it up so it runs on boot by editing &lt;code&gt;/etc/default/pdnsd&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;This sets up the daemon to work; you still have to set up your network interfaces to make use of the cache. In my own case my system is getting an IP address from the cablemodem itself dynamically, so I had to edit &lt;code&gt;/etc/dhcp3/dhclient.conf&lt;/code&gt; and enable the prepend domain-name-servers directive:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;prepend domain-name-servers 127.0.0.1&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;If you’re setting manually via &lt;code&gt;/etc/network/interfaces&lt;/code&gt;, you’ll have to manually edit &lt;code&gt;/etc/resolv.conf&lt;/code&gt; so your local DNS is queried first.&lt;/p&gt;
&lt;p&gt;Once everything is done, bring down the interface (eth0 in my case):&lt;/p&gt;
&lt;p&gt;&lt;code&gt;# ifdown eth0&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Then bring it back up:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;# ifup eth0&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;I’m pretty sure it’d be same for wlan interfaces. This should be more useful on laptops or systems that connect to networks of unknown quality.&lt;/p&gt;
&lt;p&gt;This all goes to show Cablemas is one of the worst ISPs around and you should avoid it like the plague.&lt;/p&gt;
&lt;p&gt;Sources:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;pdnsd man pages&lt;/li&gt;
&lt;li&gt;&lt;a href="http://ubuntuforums.org/showthread.php?t=331850&amp;page=4"&gt;HOWTO: Persistant DNS Caching with pdnsd.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.debian-administration.org/articles/390"&gt;Speedup DNS requests with a local cache&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><link>http://nullrend.com/post/435807031</link><guid>http://nullrend.com/post/435807031</guid><pubDate>Mon, 08 Mar 2010 18:01:00 -0800</pubDate><category>CablemasFail</category><category>linux</category></item><item><title>What About Mexico? China? Brazil?</title><description>&lt;a href="http://kotaku.com/5487087/what-about-mexico-china-brazil"&gt;What About Mexico? China? Brazil?&lt;/a&gt;</description><link>http://nullrend.com/post/432731890</link><guid>http://nullrend.com/post/432731890</guid><pubDate>Sun, 07 Mar 2010 10:04:29 -0800</pubDate></item><item><title>Photo</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_kywo7vpus91qa65vqo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;</description><link>http://nullrend.com/post/432110444</link><guid>http://nullrend.com/post/432110444</guid><pubDate>Sun, 07 Mar 2010 01:40:43 -0800</pubDate></item><item><title>Twitter: The Criterion Collection</title><description>&lt;object type="application/x-shockwave-flash" width="400" height="300" data="http://vimeo.com/moogaloop.swf?clip_id=9917412&amp;server=vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF"&gt;&lt;param name="quality" value="best" /&gt;&lt;param name="allowscriptaccess" value="always" /&gt;&lt;param name="allowfullscreen" value="true" /&gt;&lt;param name="scale" value="showAll" /&gt;&lt;param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=9917412&amp;server=vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF" /&gt;&lt;embed src="http://www.vimeo.com/moogaloop.swf?clip_id=9917412&amp;server=www.vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Twitter: The Criterion Collection&lt;/p&gt;</description><link>http://nullrend.com/post/432089987</link><guid>http://nullrend.com/post/432089987</guid><pubDate>Sun, 07 Mar 2010 01:22:34 -0800</pubDate></item><item><title>I think Mafalda was right.</title><description>&lt;img src="http://28.media.tumblr.com/tumblr_kywlu4YrYM1qa65vqo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;I think Mafalda was right.&lt;/p&gt;</description><link>http://nullrend.com/post/432050630</link><guid>http://nullrend.com/post/432050630</guid><pubDate>Sun, 07 Mar 2010 00:49:16 -0800</pubDate></item><item><title>It’s what I want, that’s easy.
It’s getting it...</title><description>&lt;object width="400" height="336"&gt;&lt;param name="movie" value="http://www.youtube.com/v/aPI3jxAhG9E&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/aPI3jxAhG9E&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1" type="application/x-shockwave-flash" width="400" height="336" allowFullScreen="true" wmode="transparent"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;It’s what I want, that’s easy.&lt;/p&gt;
&lt;p&gt;It’s getting it that’s complicated.&lt;/p&gt;</description><link>http://nullrend.com/post/430863033</link><guid>http://nullrend.com/post/430863033</guid><pubDate>Sat, 06 Mar 2010 13:04:01 -0800</pubDate><category>ramble</category></item><item><title>Photo</title><description>&lt;img src="http://29.media.tumblr.com/tumblr_kyukzlajfQ1qa65vqo1_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;</description><link>http://nullrend.com/post/429768951</link><guid>http://nullrend.com/post/429768951</guid><pubDate>Fri, 05 Mar 2010 22:35:45 -0800</pubDate></item><item><title>Diana</title><description>&lt;p&gt;I’m eating one of the two alegrias I bought on the Metro. Have you eaten yours yet?&lt;/p&gt;</description><link>http://nullrend.com/post/429444694</link><guid>http://nullrend.com/post/429444694</guid><pubDate>Fri, 05 Mar 2010 19:28:39 -0800</pubDate></item><item><title>lettherebeblogs:

Geek Heaven
</title><description>&lt;img src="http://28.media.tumblr.com/tumblr_kyqg9dFL8g1qay5joo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://lettherebeblogs.tumblr.com/post/425143689/geek-heaven"&gt;lettherebeblogs&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Geek Heaven&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://nullrend.com/post/425654559</link><guid>http://nullrend.com/post/425654559</guid><pubDate>Wed, 03 Mar 2010 21:17:59 -0800</pubDate></item><item><title>derbyboy:

This describes my day...</title><description>&lt;img src="http://27.media.tumblr.com/tumblr_kyp0jgqCcP1qzpwi0o1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://derbyboy.tumblr.com/post/424287313/this-describes-my-day-perfectly-thedailywhat"&gt;derbyboy&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;This describes my day perfectly.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://thedw.us/post/424246651/loldwell"&gt;thedailywhat&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://loldwell.com/?p=526"&gt;LOLDWELL&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;</description><link>http://nullrend.com/post/424637554</link><guid>http://nullrend.com/post/424637554</guid><pubDate>Wed, 03 Mar 2010 12:09:15 -0800</pubDate></item><item><title>So. True.</title><description>&lt;img src="http://28.media.tumblr.com/tumblr_kyozvy2u1a1qa65vqo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;So. True.&lt;/p&gt;</description><link>http://nullrend.com/post/423669552</link><guid>http://nullrend.com/post/423669552</guid><pubDate>Tue, 02 Mar 2010 22:11:00 -0800</pubDate></item><item><title>Video</title><description>&lt;object type="application/x-shockwave-flash" width="400" height="300" data="http://www.flickr.com/apps/video/stewart.swf?v=71377" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"&gt; &lt;param name="flashvars" value="intl_lang=en-us&amp;photo_secret=ffc04c0bc2&amp;photo_id=2479491895&amp;flickr_show_info_box=true&amp;hd_default=false" /&gt;&lt;param name="movie" value="http://www.flickr.com/apps/video/stewart.swf?v=71377" /&gt;&lt;param name="bgcolor" value="#000000" /&gt;&lt;param name="allowFullScreen" value="true" /&gt;&lt;embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/video/stewart.swf?v=71377" bgcolor="#000000" allowfullscreen="true" flashvars="intl_lang=en-us&amp;photo_secret=ffc04c0bc2&amp;photo_id=2479491895&amp;flickr_show_info_box=true&amp;hd_default=false" height="300" width="400"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;</description><link>http://nullrend.com/post/419484513</link><guid>http://nullrend.com/post/419484513</guid><pubDate>Sun, 28 Feb 2010 23:47:59 -0800</pubDate></item><item><title>Today’s Cannot Be Unseen
(via @Lulumargya)</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_kyl9qg20rd1qa65vqo1_400.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Today’s Cannot Be Unseen&lt;/p&gt;
&lt;p&gt;(via &lt;a href="http://twitter.com/LuluMargya"&gt;@Lulumargya&lt;/a&gt;)&lt;/p&gt;</description><link>http://nullrend.com/post/419321891</link><guid>http://nullrend.com/post/419321891</guid><pubDate>Sun, 28 Feb 2010 21:54:16 -0800</pubDate></item><item><title>http://iscrapbecause.it/</title><description>&lt;a href="http://iscrapbecause.it/"&gt;http://iscrapbecause.it/&lt;/a&gt;</description><link>http://nullrend.com/post/414837052</link><guid>http://nullrend.com/post/414837052</guid><pubDate>Fri, 26 Feb 2010 22:05:35 -0800</pubDate></item><item><title>If you really want to see the whole thing, it is here.</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_kyhdpb1wrs1qa65vqo1_400.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;If you really want to see the whole thing, &lt;a title="Anahí Viña del Mar 2010" href="http://www.youtube.com/watch?v=Lr8DvyXOIxk"&gt;it is here&lt;/a&gt;.&lt;/p&gt;</description><link>http://nullrend.com/post/414543829</link><guid>http://nullrend.com/post/414543829</guid><pubDate>Fri, 26 Feb 2010 19:29:35 -0800</pubDate></item><item><title>Photo</title><description>&lt;img src="http://30.media.tumblr.com/tumblr_kyh23n2SgZ1qa65vqo1_400.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;</description><link>http://nullrend.com/post/414092465</link><guid>http://nullrend.com/post/414092465</guid><pubDate>Fri, 26 Feb 2010 15:18:53 -0800</pubDate></item><item><title>Conversations with bots</title><description>&lt;p&gt;(03:47:52 PM) Nicki: hi&lt;br/&gt;(03:54:54 PM) nullrend: ?&lt;br/&gt;(03:54:55 PM) Nicki: hi&lt;br/&gt;(03:55:01 PM) Nicki: hi how are you today?&lt;br/&gt;(03:58:03 PM) nullrend: ?&lt;br/&gt;(03:58:04 PM) Nicki: hello&lt;br/&gt;(03:58:12 PM) nullrend: yer a bot, en’t you&lt;br/&gt;(03:58:13 PM) Nicki: my name is  kaylee I’m doing great today I’m 21 yrs old how old are you?&lt;br/&gt;(03:58:40 PM) nullrend: I wonder if I should take the time to insult your maker&lt;br/&gt;(03:58:59 PM) Nicki: listen hun, I am just about to start my webcam show with jen, come chat me there in my chat room? We can cyber, I will get naked if u do..lol!&lt;br/&gt;(04:00:10 PM) nullrend: &lt;a href="http://www.enews.org/blog/_pics/lolcat.jpg"&gt;http://www.enews.org/blog/_pics/lolcat.jpg&lt;/a&gt;&lt;br/&gt;(04:00:11 PM) Nicki: ready yet&lt;br/&gt;(04:00:31 PM) Nicki: I can show u how to watch free if u promise not to tell anyone else how to do it???PLEASE:-$&lt;br/&gt;(04:00:45 PM) nullrend: &lt;a href="http://koreamatt.files.wordpress.com/2009/11/funny-pictures-kitten-is-ready-for-picture1.jpg"&gt;http://koreamatt.files.wordpress.com/2009/11/funny-pictures-kitten-is-ready-for-picture1.jpg&lt;/a&gt;&lt;br/&gt;(04:01:15 PM) Nicki: well since its free the law that u gotta be 18 (nudity involved), u have to sign up with a credit card for age verification! BUT .. Once you are inside, just clikc on “Webcams” let me know what name you use to sign in with so I know it is you babe! http://[&lt;i&gt;edited&lt;/i&gt;]     fill out the bottom of the page then fill out the next page as well and u can see me live for free!&lt;br/&gt;(04:02:46 PM) nullrend: &lt;a href="http://patrick.ripp.eu/images/lolcat_dude.png"&gt;http://patrick.ripp.eu/images/lolcat_dude.png&lt;/a&gt;&lt;br/&gt;(04:02:47 PM) Nicki: hello&lt;br/&gt;(04:03:06 PM) Nicki: Please dont mention anything about that in the chatroom once u get in ok?:-$&lt;br/&gt;(04:05:12 PM) nullrend: &lt;a href="http://lolcatgenerator.com/downloads/lolcat-245-710.jpg"&gt;http://lolcatgenerator.com/downloads/lolcat-245-710.jpg&lt;/a&gt;&lt;br/&gt;(04:05:32 PM) Nicki: OH SHIT.. k I am late to start my show, I gotta get off msn…I will see ya inside my chatroom babe.. remember not to mention that I am upgrading u for free… You can use your msn name to sign in so i know it is you..&lt;br/&gt;(04:06:17 PM) nullrend: &lt;a href="http://www.flashpointsocialmedia.com/Area51/Orion/Images/o_rly.jpg"&gt;http://www.flashpointsocialmedia.com/Area51/Orion/Images/o_rly.jpg&lt;/a&gt;&lt;br/&gt;(04:06:18 PM) Nicki: AUTO-RESPONSE: hey just in the middle of my free webcam show if you want to watch click the link http://[&lt;i&gt;edited&lt;/i&gt;]    &lt;br/&gt;(04:07:09 PM) nullrend: &lt;a href="http://media.photobucket.com/image/annoyed%20cat/LadyCatfern/funny-pictures-unimpressed-cat.jpg"&gt;http://media.photobucket.com/image/annoyed%20cat/LadyCatfern/funny-pictures-unimpressed-cat.jpg&lt;/a&gt;&lt;/p&gt;</description><link>http://nullrend.com/post/413996565</link><guid>http://nullrend.com/post/413996565</guid><pubDate>Fri, 26 Feb 2010 14:20:57 -0800</pubDate></item><item><title>"@belen_cg ahahahaha no xD @nullrend no me a hecho nada como para decirle fuck you =)"</title><description>“@belen_cg ahahahaha no xD @nullrend no me a hecho nada como para decirle fuck you =)”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;&lt;a title="LuluMargya" href="http://twitter.com/LuluMargya/status/9548018860"&gt;@LuluMargya&lt;/a&gt;&lt;/em&gt;</description><link>http://nullrend.com/post/408041398</link><guid>http://nullrend.com/post/408041398</guid><pubDate>Tue, 23 Feb 2010 17:38:00 -0800</pubDate></item><item><title>Greg Rutter's Second Definitive List of The 99 Things You Should Have Already Experienced On The Internet Unless You're A Loser or Old or Something</title><description>&lt;a href="http://www.youshouldhavealsoseenthis.com/"&gt;Greg Rutter's Second Definitive List of The 99 Things You Should Have Already Experienced On The Internet Unless You're A Loser or Old or Something&lt;/a&gt;</description><link>http://nullrend.com/post/404543309</link><guid>http://nullrend.com/post/404543309</guid><pubDate>Mon, 22 Feb 2010 00:06:08 -0800</pubDate></item></channel></rss>
