cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: Workaround Hosts File

From: ventullo, jennifer <ventullo_jennifer_at_emc.com>
Date: Wed, 29 Sep 2004 13:54:39 -0400

Hi there,

Thank you. Just a network issue after all. Thanks!

-----Original Message-----
From: Daniel Stenberg [mailto:daniel-curl_at_haxx.se]
Sent: Wednesday, September 29, 2004 12:34 PM
To: curl tool talk
Cc: ventullo_jennifer_at_emc.com
Subject: Re: Workaround Hosts File

On Wed, 29 Sep 2004 jennyvus_at_charter.net wrote:

> Just a quick question, is there a workaround command in curl or
> openssl so
> that I do not have to put my DNS entries in the winnt\system32\etc\hosts
> file when making FTPS connections?

curl resolves host names using your system's provided methods. It'll use
your
DNS and hosts file as any other ordinary network program does.

If you DNS resolves the name then you shouldn't need to add them to any
local
hosts file.

> What is the reason for having to edit the hosts file?

Because your DNS doesn't know about the names?

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-09-29