Tuesday, September 21, 2010

Importance of being (Computer)Earnest

Now its been more than 2yrs since i posted something on this blog and sometime since i blogged, so to say I've forgotten how to write may not be too much off the mark, not that I knew how to write/blog in first place! :)

Well the ground-moving event that made me blog is something that happened today, that made me thankful for the first time for being a slightly knowledgeable person about computers. :)
The ubiquitous net decided to make a rare disappearing act today morning. And I had somehow associated such things to happen only in Third World countries, where I had lived all my life and to find such a thing happening in the First World was very surprising indeed! It got more surprising when i saw that Skype alone seemed to work, when all else was failing. That led me to conclude the problem was with BT's DNS servers. After the quick diagnosis, i knew i could vpn and use company's DNS servers and get connected to the net. So i get the vpn ip address from colleague via 'Skype - The Life Savior!' but for some reason my ipsec vpn decides to stop working then! :( So there i was still without connection to net.

Then /me thinks, this is 1st world after all, BT customer care should resolve this soon enough, so I get google IP from colleague, search for the BT customer support number and give them a call. And then i go through the longest call I've ever been put on hold - a record 30mins! even ICICIBank never did that to me back home! Well anyways as expected the call didn't yield much results, i was told many others are also seeing the same problem and it would be resolved in 24Hrs!

So i was back to square one. Then i ping another colleague, get the DNS server's ip directly, which i put in resolv.conf and lo internet works again! Its a wonderful feeling when you know only you have the net working when others don't just because you happen to have slightly more computer knowledge than the normal people. My Doctor hubby was suitably impressed when he couldn't connect to net from his laptop, when i could from mine. :D

Anyways that led me to start wondering why we don't have a on-disk DNS cache. I know its a very remote chance of my kind of scenario happening, plus it doesn't make any sense for mobile users, where the nearest DNS keeps changing. But for a home-desktop user wouldn't this make sense? Imagine if there was some option to cache the most used DNS entries, I wouldn't even have noticed that net was down. And by the way thats what happened with my iPhone, where i could access gmail, facebook everything, as it was using the cached DNS resolutions to connect.
So thats about it, until another such ground-moving event happens,