cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: Error Code 6: Couldn't resolve host

From: <Bryan_Kemp_at_Dell.com>
Date: Wed, 24 Sep 2003 08:59:43 -0500

You only need curl -I "http://www.yahoo.com". The rest of the line
<www.yahoo.com> is not a valid part of a URL.
-Bryan

-----Original Message-----
From: Sharma, Amit [mailto:as230007_at_exchange.Canada.NCR.com]
Sent: Wednesday, September 24, 2003 7:46 AM
To: curl-users_at_lists.sourceforge.net

Hi there List,

As a starter in cURL, I thought of playing and learning cURL by beginning
with the scripting manual. Tried a simple command, curl -i
"http://www.yahoo.com <http://www.yahoo.com> ". Am getting the following
error:
curl: (6) Couldn't resolve host 'www.yahoo.com <www.yahoo.com> '

However, while trying to do a nslookup, my system resolves this name without
any glitch.

Please let me know if am missing anything.

Greetz
Amit

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-09-24