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 resolvesyoutube.com
to120.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
And it has no reverse DNS (all Google servers have that!):
In the Netherlands, it looks like this (and you should have similar results - though the IP address will be different of course):