cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Workaround Hosts File

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 29 Sep 2004 18:33:47 +0200 (CEST)

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