cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Ignoring dns lookups in php / lib curl.

From: Kevin Revill <krevill_at_plus.net>
Date: Thu, 16 Dec 2004 08:11:42 +0000

Hi everyone,

Can someone tell me what CURLOPT i need to ignore a host ip.
I am trying to use curl to run performance tests against each machine in
a cluster behind a load balancer.

I need to make the request to a url, but have the request sent toa
private ip.

For instance. http://www.mydomain.co.uk host:10.0.0.5
then i can do it again to 10.0.0.6 and so on. hitting the right machine
with the right url.

many thanks

Kevin
Received on 2004-12-16