Bypassing Router's DNS Settings
Solution 1
If you use the "nslookup" command, you will get a > prompt, where you can specify a DNS server of your choice. Use the "server" command, followed by either a hostname or an IP address of the server of your choice, such as the ones from OpenDNS. I do not think that your ISP will proxy the DNS requests. However, your country border routers may block access to foreign DNS servers, and if not blocking the access to DNS servers, can block access to the actually returned IP address from your chosen DNS.
In other words, there are different ways that you can be blocked from using other DNS servers from your internet connection, but usually, this is not a problem.
Solution 2
When visiting their website, OpenDNS determines if you're using their services by checking the IP address you've requested.
When asking my default DNS, www.opendns.com
refers to IP address 208.69.38.150:
dig www.opendns.com
[..]
www.opendns.com. 30 IN A 208.69.38.150
[..]
Asking their DNS, www.opendns.com
yields another IP address, 208.69.38.160:
dig @208.67.222.222 www.opendns.com
[..]
www.opendns.com. 30 IN A 208.69.38.160
[..]
Until the end of October 2009, browsing to http://208.69.38.160 would always show:
But http://208.69.38.150 would always tells you:
Beware: Since OpenDNS has introduced payed plans mid-October 2009, the homepage no longer clearly states one is already using OpenDNS! Instead, it always shows:
(Maybe this will be changed back some day. To me, this new website feels a bit like tricking people into getting a paid account. Even signing up for the free "OpenDNS Basic" gets one to the Store nowadays, while actually to just use the OpenDNS servers one does not need an account to start with. But true, they do state "A store for free? [..] And don't worry, if you aren't using the paid service we won't ask for a credit card or anything like that.")
The different IP addresses are still used, so, if any of the following commands shows 208.69.38.160, then you're using OpenDNS:
dig www.opendns.com
ping www.opendns.com
-
nslookup www.opendns.com
host www.opendns.com
As your computer may have remembered that www.opendns.com
refers to 208.69.38.150, you might indeed need to run ipconfig /flushdns
(or dscacheutil -flushcache
on Mac OS X) like Svish commented.
Related videos on Youtube
Comments
-
info almost 2 years
Is there a way to bypass my ISP provided CPE/router's DNS settings? I'd like to use OpenDNS but I am unable to access the administrator acount of the CPE. I tried logging in using the default passwords (admin/admin, admin/1234, etc) to no avail.
I found out later that the admin password is generated using a generator where you input the CPE's MAC address. I tried emailing the manufacturer of the CPE (Huawei, the CPE is Huawei BM625) and my ISP but they aren't replying. I also saw similar queries (lots of them!) at Huawei's forums, without a single reply.
So as a last resort, I'd like to know a way to bypass the CPE's DNS settings.
My subscription is for a WiMAX service. I'm using Windows 7 and have already set the DNS settings for the Local Area Connection:
However I still am not seeing the "You are already using OpenDNS" text at OpenDNS's site.
And when explicitly using the OpenDNS servers I still seem to get 208.69.38.150 rather than the expected 208.69.38.160:
nslookup www.opendns.com. 208.67.222.222 Server: resolver1.opendns.com Address: 208.67.222.222 Non-authoritative answer: Name: www.opendns.com Address: 208.69.38.150
-
Svish over 14 yearsAfter changing your DNS settings, it might be useful to do a
ipconfig /flushdns
.
-
-
info over 14 yearsAfter running
ipconfig /flushdns
as an administrator,nslookup www.opendns.com
returns208.69.38.150
-
Arjan over 14 yearsOn a Mac, the user itself must flush the cache, not some super user. And on XP, ipconfig /all shows the details, including DNS. Anything odd there? And what about a good old reboot?
-
info over 14 yearsRebooted, flushed as a normal user.
ipconfig /all
returns the correct DNS entries. (yfrog.com/2gcaptureap) -
Arjan over 14 yearsToo bad: since this answer was posted, opendns.com/start now first tells one to create an account. That is not really required. The instructions can still be found at store.opendns.com/setup
-
Arjan over 14 yearsWireless might matter, if Windows has different settings for each network card. I am on a Mac, and a Mac has different settings for ethernet and Wi-Fi, so changing the ethernet settings has no effect on my wireless connection. So, do your settings at img203.imageshack.us/img203/3401/capturek.png apply to the network connection of that WiMAX service as well? Still, the
nslookup
command should have given you 208.69.38.160 (when explicitly using 208.67.222.222 in that command). -
Gaff almost 13 yearsthanks @Arjan - in a lot of cases that's true, but I've seen some where for some reason they were missed by that mass change. I've even come across some images where the reference was changed to i.stack.imgur.com but the image was broken until changed back to i.imgur.com, hence the need to reupload.