Ubuntu – Facebook and YouTube not working in Chrome or Firefox

facebookfirefoxgoogle-chromeinternetyoutube

Can somebody explain why in my Ubuntu 13.04 the facebook site and youtube site can't be opened by Chrome or Firefox. Other sites can be opened except for this two site. I really need a hand here.

result from ip addr:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1402 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:23:18:a1:c1:96 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.103/24 brd 192.168.0.255 scope global eth0
    inet6 fe80::223:18ff:fea1:c196/64 scope link 
       valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 40:61:86:9c:18:cf brd ff:ff:ff:ff:ff:ff

victor@victornolii:~$ ping -c 4 youtube.com
PING youtube.com (120.28.26.50) 56(84) bytes of data.
64 bytes from 120.28.26.50: icmp_req=1 ttl=50 time=905 ms
64 bytes from 120.28.26.50: icmp_req=2 ttl=50 time=2155 ms
64 bytes from 120.28.26.50: icmp_req=4 ttl=50 time=1796 ms

Best Answer

You have DNS issues.

From the ping command, I see that your system resolves youtube.com to 120.28.26.50. Well, that is not Youtube or Google. No, that's an internet sevice provider in the Philippines. That's scary. Somebody is trying to be the "man in the middle" here! Be aware.

Try using Google Public DNS on your system instead. Follow the instructions in this answer on how to do that: https://askubuntu.com/a/310752/88802


$ whois 120.28.26.50
% [whois.apnic.net node-7]
% Whois data copyright terms    http://www.apnic.net/db/dbcopyright.html

inetnum:        120.28.0.0 - 120.28.255.255
netname:        GLOBET-PH
descr:          Globe Telecom/Innove Communication
descr:          Internet Service Provider, Makati City
country:        PH
[...]

And it has no reverse DNS (all Google servers have that!):

$ host 120.28.26.50
Host 50.26.28.120.in-addr.arpa not found: 2(SERVFAIL)

In the Netherlands, it looks like this (and you should have similar results - though the IP address will be different of course):

$ whois 173.194.65.93 # result of ping youtube.com
[...]
NetRange:       173.194.0.0 - 173.194.255.255
CIDR:           173.194.0.0/16
OriginAS:       AS15169
NetName:        GOOGLE
[...]

OrgName:        Google Inc.
OrgId:          GOGL
Address:        1600 Amphitheatre Parkway
City:           Mountain View
StateProv:      CA
PostalCode:     94043
Country:        US

$ host 173.194.65.93
93.65.194.173.in-addr.arpa domain name pointer ee-in-f93.1e100.net.
Related Question