cURL / Mailing Lists / curl-users / Single Mail

curl-users

Ignore DNS

From: Warrick FitzGerald <wfitzgerald_at_livetechnology.com>
Date: Wed, 12 Jun 2002 13:12:01 -0400

Hi All,

I very often would like to make a request to a specific IP Address, but keep
the host header etc exactly as if curl had done the lookup via DNS.

For eample if I have 3 web servers behind a load ballancer, I would like to
be able to make a request directly to Machine1's private address, with excly
the same header as if it had resolved to the LoadBallanced IP.

Is it possible to do something like curl www.mysite.com --user-this-ip
10.10.10.5 ?

Thanks
Warrick FitzGerald

_______________________________________________________________

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
Received on 2002-06-12