cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: Feature request: alternate server name/address

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 23 Apr 2015 08:51:04 +0200 (CEST)

On Thu, 23 Apr 2015, Gaston Gloesener wrote:

> > Take a look at the --resolve option. This is one of the primary use cases
> > for which it was implemented.
>
> Thanks Dan for pointing me to that option, did not know I could use that.
> Would be great if the 3rd argument (i.e. the address) could also be a FQDN.

I can see how that can be useful.

A FQDN is however potentially a large amount of IP addresses and they could
even change over time, so it would require quite a lot more than just a simple
initial DNS resolve to make right.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2015-04-23