Block Bell's or Rogers's DNS hijacking (domainnotfound.ca)
Friday, July 31, 2009
Yesterday night, while surfing around, I noticed that when a domain name wasn't registered I was being redirected to a Bell search page, a page coming from domainnotfound.ca. If you haven't seen it, it looks like this:
When I saw it, I thought my computer was infected with a virus. After looking around my computer for a few minutes, I figured out what was going on. Bell is hijacking invalid or non-existing DNS entries to display, likely, sponsored search results via their network. Note that I was trying to go to someone's LinkedIn profile and also note how this DNS hijacking process is now telling me that LinkedIn doesn't exist, when it clearly does.
I knew that Rogers already did this, but I don't use Rogers, so I've never seen it in action. But now that Bell is doing, I can see clearly that I don't like it.
First, Bell doesn't ask if you want to participate in this practice. Second, if there is any link sponsorship, I don't see any money coming my way. Third, I already pay for my internet service, so I don't think I should unwillingly become another source of revenue for Bell.
I'm not sure if anyone else out there cares that this traffic shaping happens. I'm not even sure if anyone has noticed. However, there is something you can do, and it's doesn't involve using OpenDNS--read their privacy
policy first: they can see everything you do and they say that they will sell that information (in fact, that's their business model).
An easier solution is to modify your hosts
file in your computer. Your hosts
file helps your computer connect to servers faster, by bypassing the process of DNS table look ups (if you don't know what this means, don't worry about it). So, modify your hosts
file to look like this:
# Copyright (c) 1993-2006 Microsoft Corp.
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
# For example:
# 22.214.171.124 rhino.acme.com # source server
# 126.96.36.199 x.acme.com # x client host
The servers that you need to block are www.domainnotfound.ca
, and assist.infospace.com
Technically speaking, you are not really blocking them; what's happening is that whenever a request to either one of these severs is executed, it resolves the address to your machine (127.0.0.1).
Where is this magical hosts
file? In Vista is in
Before modifying this file, make a backup of it. Then add these 3 lines to it:
Save the file, and that's it.
With this minor change, Bell can't hijack your mistakes. And don't bother with Bell's "opt-out" option: it still does the hijacking and the company knows that you made a mistake, but it doesn't do the search because a cookie is set to not go to the search page. In other words, opt-out is not really an opt-out option.
If you are a Rogers user, you'll need to figure out which servers are doing the DNS hijacking, but the solution is the same.
Labels: Bell DNS, DNS hijacking
Thanks for the trick. Unfortunately, that doesn't quite do it. After modifying my hosts file, I gave it a try and typed "www.dfasdfsd.com" in my browser. The same annoying delay occurred and I got my regular Firefox "Connection Failed", but instead explaining it cannot connect to domainnotfound.ca, not "www.dfasdfsd.com"
From what I understand, what happens is that Bell is still making the highjack happen, but when you are sent to their stupid page on their stupid domain, Firefox will show the typical "Connection Failed".
I hope there is a way to stop them from doing that, it is slowing down my work in a way, plus of course all the other reasons you mentioned.
On another note, you can "opt-out" from this service on domainnotfound.ca. I tried, but it's not true. It only adds a cookie that will have the regular "Connection Failed" or "Domain Not Found" page originating from your browser inserted in their Bell style page. And here comes the most crazy part: the cookie doesn't actualy makes the regular "Connection Failed" or "Domain Not Found" page appear inside their's, it's showing their own modified version of it (in english on my french system and Firefox browser) and with a link to "Manage DNS Search Opt-In/Out Settings"!
Same thing in Internet Explorer, a modified "The page cannot be displayed" page inserted in their own page, in english in my french browser...
This is all completely ridiculous. Any other solution is welcomed, this is frustrating, disrespectful and insulting.
Hi, thanks for the workaround... I'm using Opera as the browser and when I type an address that doesn't exist, it gives me a blank page, not the Page not Found message that OPERA shows. When I remove the lines of text from the hosts file, I get the domainnotfound.ca site again instead.
Thanks for the tip - using win XP & Firefox 3.0.13 - tried the mod you suggested I get the same thing Bab gets:
The requested URL /bellassist/dnsassist/main/ was not found on this server.
It's a little better!
Thank you for this!
Unbelievable, just saw this error now and immediately opted out and blocked it in the hosts file.
Then I complained to Bell over email. I will definetly call them, as well. How dare they pull this kind of stunts?
I just noticed this today. I just couldn't believe it.
This is absolutely despicable that they will break basic internet functionality like this.
This is not a "service". Network Solutions did this in the past and there was a HUGE uproar and they fixed it. And for good reason -- every domain you can make up resolved as valid. Party time for spammers.
I sent a complaint email and if it's not fixed I'll submit a CRTC complaint as well.
Jose Sandoval, thank you for providing reasons why this DNS hijacking practice by Bell Canada Sympatico.ca is unethical. Thanks also for your solutions.
I have created a page and linked back to yours.