1
I just set up a new machine on my home network running Ubuntu 10.04. For some strange reason I can't reach www.google.com
. All other domains work fine, even googles sub-domains like docs.google.com
. I have no idea what the problem is.
curl http://www.google.com/
curl: (6) Could not resolve host: www.google.com; nodename nor servname provided, or not known
ping www.google.com
ping: cannot resolve www.google.com: Unknown host
dig www.google.com
; <<>> DiG 9.7.3-P3 <<>> www.google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 51258
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;www.google.com. IN A
;; ANSWER SECTION:
www.google.com. 54813 IN CNAME www.l.google.com.
;; Query time: 46 msec
;; SERVER: 192.168.3.1#53(192.168.3.1)
;; WHEN: Tue Jan 10 14:48:35 2012
;; MSG SIZE rcvd: 52
The google.com
301 redirect is reachable, while www.google.com
is not.
curl is saying it cannot resolve, yet the system can, which suggests something is up with curl itself. Does wget work? Can you try
curl -vvvvvv www.google.com
– Paul – 2012-01-10T12:50:17.4635"
www.
blindness" is a disease brought on by too much use of WWW browsers that automatically affix what one types in an address bar with other stuff. ☺www.google.com.
is not the same domain name asgoogle.com.
, and this question's title is a falsehood. – JdeBP – 2012-01-10T13:02:58.783It's not a curl problem, Safari, Chrome and Firefox also can't display google.com or www.google.com. – wowpatrick – 2012-01-10T13:19:35.917
1@JdeBP My bad, the
google.com
redirect is reachable,www.google.com
is not. Still in IMHO still no reason to down vote right away ... – wowpatrick – 2012-01-10T13:51:33.210