I enter Youtube's IP but Google opens

1

Youtube is blocked in my country, and I think they have blocked it from the DNS end of it, because when I run:

dig www.youtube.com

in my LINUX terminal then I get no answer, but when I run the same command targeted at another DNS server then I get some answers...The command is:

dig www.youtube.com @8.8.8.8

and the Answers are:

; <<>> DiG 9.8.1-P1 <<>> youtube.com @8.8.8.8
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23527
;; flags: qr rd ra; QUERY: 1, ANSWER: 11, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;youtube.com.           IN  A

;; ANSWER SECTION:
youtube.com.        300 IN  A   173.194.39.38
youtube.com.        300 IN  A   173.194.39.35
youtube.com.        300 IN  A   173.194.39.41
youtube.com.        300 IN  A   173.194.39.36
youtube.com.        300 IN  A   173.194.39.39
youtube.com.        300 IN  A   173.194.39.46
youtube.com.        300 IN  A   173.194.39.40
youtube.com.        300 IN  A   173.194.39.32
youtube.com.        300 IN  A   173.194.39.34
youtube.com.        300 IN  A   173.194.39.33
youtube.com.        300 IN  A   173.194.39.37

;; Query time: 193 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Sat Feb  9 16:22:52 2013
;; MSG SIZE  rcvd: 205

The problem is that whenever I copy and paste an IP from that list into my browser, google.com opens instead of youtube! Can someone explain why is this happening? and how can I open youtube from its IP so that I can bypass the DNS lookup...

ArslanW

Posted 2013-02-09T11:30:11.497

Reputation: 121

What is the answer to dig www.google.com @8.8.8.8? – Johnsyweb – 2013-02-09T11:33:56.277

Answer is...

www.google.com. 300 IN A 173.194.35.180 www.google.com. 300 IN A 173.194.35.176 www.google.com. 300 IN A 173.194.35.177 www.google.com. 300 IN A 173.194.35.178 www.google.com. 300 IN A 173.194.35.179 – None – 2013-02-09T11:42:39.017

I guess it's youtube itself to filter out connections from certain countries. Anyway, try to access it by this website: http://www.silentsurf.co.uk

– Davide Berra – 2013-02-11T12:32:08.640

Answers

1

You can use 8.8.8.8 as your regular DNS server.

Or you can add "173.194.39.38 youtube.com" to your /etc/hosts file.

Joni

Posted 2013-02-09T11:30:11.497

Reputation: 334

I dont see how that will help... my browser is google chorme and I want to access youtube from the internet... doing what you said will only tell my system that a certain ip is named what... youtube still wont open... – None – 2013-02-09T11:46:46.683

2You asked how to bypass your DNS. This is how you do it. – Joni – 2013-02-09T11:58:53.420

1

As user1763532 explained, hosting architecture are now all based on loadbalancing, mutiple ISP, multiple location, so try something like this

"telnet 173.194.39.35 80"

GET / HTTP/1.1

Host: www.youtube.com

Connection: close

post result,

if telnet on port 80 is ok, no firewall filtering

if you don't get anything with GET, maybe web filtering

try and let us know (for my curiosity which country are you from ?? is your username related ^^)

Card

Posted 2013-02-09T11:30:11.497

Reputation: 36

1

Yes, you can add google public DNS server into the system. To do that, type vi /etc/resolv.conf and then add "nameserver 8.8.8.8 to it. You also need to be root to do that.

AzkerM

Posted 2013-02-09T11:30:11.497

Reputation: 581

0

The A entries are IP's of general Google servers, more likely load balancers or entry points to their infrastructure, all of which will have some form of virtual host policies.

The complexity of Google's infrastructure should be ignored to understand how this works, although it will function much like Apahce's virtual host files.

<VirtualHost _default_:80>
DocumentRoot /com/google/www
...
</VirtualHost>
<VirtualHost google.com:80>
DocumentRoot /com/google/www
...
</VirtualHost>
<VirtualHost youtube.com:80>
DocumentRoot /com/youtube/www
...
</VirtualHost>

What your seeing is Google's default destination if no URL/Host is given (accessed directly through IP), it passes you to the content servers for Google.com.

If you had passed Youtube.com as the URL/Host to one of the A IP's you would reach Youtube.com.

Edit

In answer to your question, you cant just enter the IP. As already answered you can set your computers DNS server to 8.8.8.8 or use another DNS service.

You could also use a proxy service.

user1763532

Posted 2013-02-09T11:30:11.497

Reputation:

okay, I see... so I tried http://173.194.39.35/Youtube.com and a google page came saying the following URL does not exist on this server, error code 404.... Am I doing it wrong?

– None – 2013-02-09T11:50:29.933

hmmm... changing my default dns server doesnt seem to be helping... well anyways hanks for your time! – None – 2013-02-09T12:04:35.157

I changed the default and secondary dns of my router, but still no luck... It is possible that the blocking in my country can be based on another technique... – None – 2013-02-09T12:20:10.503

0

install proxy swithcer. The website is blocked, so the only way is to create a VPN or use a proxy. use spotflux, proxy switcher or hotspot sheild

Umair

Posted 2013-02-09T11:30:11.497

Reputation: 1

0

DNS Settings aren't going to work. Countries are smarter than that :)

Use a proxy, there's a good plugin for firefox and probably a couple for [sigh]chrome[/sigh]

Tom Farrow

Posted 2013-02-09T11:30:11.497

Reputation: 63