Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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


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 @

and the Answers are:

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

;           IN  A

;; ANSWER SECTION:        300 IN  A        300 IN  A        300 IN  A        300 IN  A        300 IN  A        300 IN  A        300 IN  A        300 IN  A        300 IN  A        300 IN  A        300 IN  A

;; Query time: 193 msec
;; 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, 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...

share|improve this question

migrated from Feb 15 '13 at 10:11

This question came from our site for professional and enthusiast programmers.

What is the answer to dig @ – Johnsyweb Feb 9 '13 at 11:33
Answer is... 300 IN A 300 IN A 300 IN A 300 IN A 300 IN A – ArslanW Feb 9 '13 at 11:42
I guess it's youtube itself to filter out connections from certain countries. Anyway, try to access it by this website: – Davide Berra Feb 11 '13 at 12:32

You can use as your regular DNS server.

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

share|improve this answer
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... – ArslanW Feb 9 '13 at 11:46
You asked how to bypass your DNS. This is how you do it. – Joni Feb 9 '13 at 11:58

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

"telnet 80"

GET / HTTP/1.1


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 ^^)

share|improve this answer

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

share|improve this answer

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
DocumentRoot /com/google/www
DocumentRoot /com/youtube/www

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

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


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

You could also use a proxy service.

share|improve this answer
okay, I see... so I tried and a google page came saying the following URL does not exist on this server, error code 404.... Am I doing it wrong? – ArslanW Feb 9 '13 at 11:50
hmmm... changing my default dns server doesnt seem to be helping... well anyways hanks for your time! – ArslanW Feb 9 '13 at 12:04
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... – ArslanW Feb 9 '13 at 12:20

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

share|improve this answer

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]

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.