Using Google Public DNS in conjunction with DD-WRT/DNSMasq

December 5, 2009 2 comments

There has been a lot of buzz regarding Google Public DNS herafter called GPD.  Google’s instructions are designed for end users modifying their own computers.  I think GPD can be very useful if used in conjunction with a forwarding cache on a router. This is the mechanism I used on my Linksys WRT54GL running DD-WRT
v24 to combine using DNSMasq and use GPD’s provided IP addresses 8.8.8.8 and 8.8.4.4 as the upstream DNS.

I assume that you have enabled SSH access to the router so you can login via SSH and take backups of the old values of the upstream DNS

  1. SSH into your router and run cat /tmp/resolv.dnsmasq . Save the IP addresses listed somewhere in case you want to revert back
  2. Go to the Commands tab under Administration.
  3. In the Commands box paste the following:
  4. echo "nameserver 8.8.8.8
    nameserver 8.8.4.4" > /tmp/resolv.dnsmasq
    sleep 1
    killall -HUP dnsmasq
    
  5. Click Save Firewall (note: your WAN interface will be restarted)

Now, you can take advantage of the DNS caching on your router and misses on the routers DNS cache are sent to GPD for resolution. Note that websites which use CDN will now determine the closest node based on where the anycasted GPD addresses 8.8.8.8 and 8.8.4.4  resolve to relative to your network.

In a future post, I’ll write about how GPD can be integrated as an upstream forwarder using dnscache and why PowerDNS recursor doesn’t support using an open resolver as an upstream forwarder at present

Categories: General Tags: , ,

Why I think Chrome is coming out of beta now

December 12, 2008 Comments off

There have been a lot of discussions, blog posts describing how Chrome is one of the shortest if not the shortest beta cycle from Google. Most of the discussion has centered around the business requirements from OEM of having a non-beta software for pre-installation. Whilst this is valid, in my opinion this pre-deployment would still take a while to go through since I expect the earliest manufacturers will start a new build will be after Chinese New Year (end of Jan) and subsequently with another QA cycle could be March-April before boxes with Chrome pre-installed show up in stores

In my opinion, Google wants to take advantage of the holiday season where everyone is visiting family and doing the usual “tech support”. A lot of early adopters would like to get their parents computer cleaned up and install alternative browsers. Google’s Chrome is clean and with the search box integrated nicely with the address bar would be very useful to many who don’t care about the lack of extensions.

I for one would really like for sites to actively discourage use of Internet Explorer 6 and push their users to alternatives such as Firefox, IE7, Chrome, Opera.

It will however be interesting to see how Chrome’s mechanism of being chatty with Google for its auto-suggestion may impact usage in markets where people have bandwidth limits.

Categories: General

The IT Crowd is side splittingly funny

December 11, 2008 Comments off

I’m having a great time watching Season 3 of the IT Crowd. I loved Season 1 and Season 2 and converted a lot of my colleagues to be watchers of the show.

Season 3 hasn’t disappointed so far and I had a great time watching Episode 3 with a brilliant moment when Moss recovers from his concussion and there is a Windows startup sound to signify his brain being “rebooted”

Categories: General, Humor

Upgraded blog to WordPress 2.7

December 11, 2008 Comments off

Very impressive UI for the Dashboard, Love the QuickPress widget on the top right hand corner. Maybe this will get me get back to blogging rather than twittering

Categories: Blogging Toolchains

Explaining Velocix's value proposition for the technically inclined

July 22, 2008 Comments off

I was introduced to uber-smart hacker and phenomenally successful serial entrepreneur Adam Twiss who originally wrote ApacheBench whilst he was at Zeus and subsequently donated to the Apache Foundation.

Adam is the co-founder and CTO of Velocix which was formerly known as CacheLogic.

Velocix is well known for its hybrid P2P based CDN network and I was trying to get a better understanding of how things worked behind the scenes in order to evaluate its suitability for various projects at work.

This is really oversimplifying their value proposition but for a technical person I would say that Velocix basically can provide a constant backfill to a BitTorrent swarm should a client want to use BitTorrent as a content delivery protocol.

Obviously Velocix can do a lot more than the above but it was hard for me to extract the above value proposition which was interesting to me from their website.

Hopefully this blog post can get some Google karma and help prospective Velocix customers

Categories: General

Firefox 3 and its impact on servers particularly those serving static content

June 18, 2008 Comments off

Firefox 3 has been released and by all accounts there has been enormous uptake of this fine browser.

If you aren’t familiar with the browser, I would encourage you to visit Deb Richardson’s brilliant Field Guide to Firefox 3 which describes a number of key Firefox 3 features in a very accessible manner.

One thing I would like to mention is that Firefox 3 has improved connection parallelism. The default limit for concurrent connections per hostname has been increased from 2 to 6 which is similar to IE8. Details can be found in this bug report here and for the technically inclined these are the new defaults

pref(“network.http.max-connections”, 30);
pref(“network.http.max-connections-per-server”, 15);
pref(“network.http.max-persistent-connections-per-server”, 6);
pref(“network.http.max-persistent-connections-per-proxy”, 8);

Whilst the improved connection parallelism is one factor in improved page load performance, web server administrators who are currently serving content via Apache need to factor in increased concurrent connections from Firefox 3 and tweak their MaxClients setting appropiately.

If they are using Apache to serve static content, maybe they should consider switching to lighttpd and nginx for serving such content.

Google’s Steve Souder has a great roundup on Parallel Connections in this blog entry.

Categories: General, Mozilla

Some comments on older posts got deleted

June 7, 2008 Comments off

Not sure how this occurred, will see if I can get some of them back via backups. Will have to automate blog backups and keep weekly snapshots

Categories: Blogging Toolchains
Follow

Get every new post delivered to your Inbox.

Join 1,198 other followers

%d bloggers like this: