cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: Feature request: alternate server name/address

From: Gaston Gloesener <gaston.gloesener_at_web.de>
Date: Thu, 23 Apr 2015 02:32:01 +0200

> Dan Fandrich 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. This would avoid the requirement to use something like "dig +short"
to resolve the name first.

Meanwhile I used dig +short and removed the -k option, and --resolve did the trick

Thanks,
Gaston

-------------------------------------------------------------------
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