" Unknown host: google.com "
Your system declares the "string" as unknown since your /etc/resolv.conf (probably) finds it there without an assignable IP value.
Clean up your resolv.conf file, put there the things only needed by the system to access the internet and be able to resolve domain names. One indispensable item there should be your ISP's Domain Name Server
<this you can get from their techmen or be inferred from traceroute
>, and your localhost 127.0.0.1
<this may not be necessary but advisable since other applications may want to find it there
>; anything else might be valid proxies and resolvers but not necessary entries, save that which is required by the subnet or ISP policies.
Hope that helps.