cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
450
Views
2
Helpful
28
Replies

Bypass router dns

I've already made a post on this however I did not make that one clear

I have configured the OpenDNS DNS servers on my router is there a method to bypass the website or change the DNS server on a specific computer?

 

ty

28 Replies 28

rotblitz
Level 6
Level 6

Yes, you can bypass also this by adding the following entries to your local hosts file like this:

172.217.12.206  youtube.com
172.217.10.14 www.youtube.com youtube-ui.l.google.com

You may need to use different IP addresses and to add more entries.

Thank you however for some reason when I visit the blocked website it requires an admin and password the things I've typed are below.

(ip) www.example.com

(ip) exampe.com

Thank you and merry christmas depending on your time zone or religion.

 

 


support.opendns.com_hc_user_images_5hV6jbo5_mAEwZEb-z40mg.pngignore the following post above as I didn't use the right IP address however I still have  a problem, I am unable to figure out what my website's IP is i noticed you used 2 different IP's and links can you please specify on how to do that please?

 

ty

rotblitz
Level 6
Level 6

Sorry, I don't understand.  What is your website's IP address to do with the YouTube video?  What are these two different iP addresses?  Do you talk about 172.217.12.206 and 172.217.10.14?  You find them out by raising DNS lookups, as usual.

nslookup youtube.com.
nslookup www.youtube.com.

 

Yes,I've used the following command on command prompt then pasted the data however the site is still blocked.

 

 

 

ty

rotblitz
Level 6
Level 6

The nslookup commands are not to unlock anything, just do find the IP address for your entries into the hosts file.

As I said above, you may need to add more entries for other domains to your local hosts file.  See here a list of queried domains taken when I visited this video URL.

www.youtube.com
r2---sn-4g5e6nld.googlevideo.com
s.ytimg.com
yt3.ggpht.com
i.ytimg.com
i9.ytimg.com

Alternatively to adding entries to your hosts file, use a VPN service or a web proxy.

Yes,Thank you however I already understand this I used the nslookup commands but they give me the OpenDNS block addresses so I use a DNS lookup website, however after I get my addresses and add them to the hosts file it still dosent work (also if I change the hosts on the hosts file it dosent effect the nslookup cmd on command prompt for some reason)

ty

rotblitz
Level 6
Level 6

"they give me the OpenDNS block addresses so I use a DNS lookup website"

This is not needed.  You simply use another DNS service like Google Public DNS.

nslookup www.youtube.com. 8.8.4.4

"after I get my addresses and add them to the hosts file it still dosent work"

You may not have caught all needed domain names.  Find them here:
https://dashboard.opendns.com/stats/all/blockeddomains

"if I change the hosts on the hosts file it dosent effect the nslookup cmd"

Yes, nslookup doesn't use the hosts file but the DNS service being configured or specified.  If you want to see the end result including local resolver cache and hosts file, you better use ping.

ping www.youtube.com

 

Thank you,However I don't believe this is the case as I've managed to change the hosts of the same website with a different address before and as for the using other DNS service i used the following command, nslookup www.example.com 8.8.4.4, and I received the OpenDNS block address, however when using the ping command I was given the proper address however when added to hosts it was still blocked.

 

ty

rotblitz
Level 6
Level 6

"i used the following command, nslookup www.example.com 8.8.4.4, and I received the OpenDNS block address"

This is not possible unless something routes your DNS traffic to OpenDNS despite specifying Google DNS.

"when added to hosts it was still blocked"

You may have to flush the browser cache and the local resolver cache from an elevated command prompt first:

ipconfig /flushdns

Or, as I said, you did not catch all needed hostnames, or this blocking is not caused by OpenDNS.

If you want, you can copy & paste the complete plain text outputs of the following commands to here to give me additional ideas about what could be wrong:

nslookup -type=txt debug.opendns.com.
nslookup www.youtube.com.
ping www.youtube.com
netsh interface ipv4 show config

 

Yes,When using the ping command on example.com a proper address is given however,when using the ping command on www.example.com a block address (146.112.61.104) is given however when flushing they give me proper addresses the command below dosen't work and has a error message and the last command shows me "WiFi things"

nslookup -type=txt debug.opendns.com. 

 

 

ty

rotblitz
Level 6
Level 6

Well, as you didn't post the outputs, I cannot comment on this. :(

*** google-public-dns-a.google.com can't find debug.opendns.com.: Non-existent domain

As for the "WiFi things"

Configuration for interface "Ethernet"
DHCP enabled: Yes
InterfaceMetric: 5
DNS servers configured through DHCP: None
Register with which suffix: Primary only
WINS servers configured through DHCP: None

Configuration for interface "Local Area Connection* 9"
DHCP enabled: Yes
InterfaceMetric: 25
DNS servers configured through DHCP: None
Register with which suffix: Primary only
WINS servers configured through DHCP: None

Configuration for interface "Ethernet 2"
DHCP enabled: Yes
InterfaceMetric: 35
DNS servers configured through DHCP: None
Register with which suffix: Primary only
WINS servers configured through DHCP: None

Configuration for interface "Wi-Fi"
DHCP enabled: Yes
IP Address: 192.168.0.23
Subnet Prefix: 192.168.0.0/24 (mask 255.255.255.0)
Default Gateway: 192.168.0.1
Gateway Metric: 0
InterfaceMetric: 55
Statically Configured DNS Servers: 127.0.0.1
Register with which suffix: Primary only
WINS servers configured through DHCP: None

Configuration for interface "Loopback Pseudo-Interface 1"
DHCP enabled: No
IP Address: 127.0.0.1
Subnet Prefix: 127.0.0.0/8 (mask 255.0.0.0)
InterfaceMetric: 75
Statically Configured DNS Servers: None
Register with which suffix: Primary only
Statically Configured WINS Servers: None

rotblitz
Level 6
Level 6

This is the output of one command only, maybe two.

"*** google-public-dns-a.google.com can't find debug.opendns.com.: Non-existent domain"

What command was behind this output?  It seems you queried debug.opendns.com via Google Public DNS which does not know about debug.opendns.com.
So yes, google-public-dns-a.google.com cannot find debug.opendns.com, that's just normal.  No new insights here...

Further, I see for interface "Wi-Fi":

Statically Configured DNS Servers: 127.0.0.1

What does this localhost address point to?  What DNS service is behind it?  I would have expected to either see your router's address 192.168.0.1 there, or the OpenDNS resolver addresses.

If you post command outputs, you post them including the command and the complete output.  Else it is very hard to comment on anything.