It's really weird and randomly started happening..
I open firefox or IE on the server and try to load "google.com". It doesn't load. Pinging it doesn't work either.
However, if it use the IP to ping or open it in firefox or IE, it works. The IP of the site google, 126.96.36.199.
It's not just google, it's every website.
It's not a firewall issue..