cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: DNS via SOCKS?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 30 Nov 2006 09:02:19 +0100 (CET)

On Wed, 29 Nov 2006, Mike Perry wrote:

> Is there any way to get curl to not attempt local DNS lookups and instead
> deliver the hostname to the socks server a-la SOCKS4A/SOCKS5? I've tried
> --socks, --socks4, and --socks5 and all seem to try to do DNS locally.

The socks options of curl only use SOCKS for the actual data transfer
connection. Feel free to add this DNS-over-SOCKS ability and mail us the
patch!

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-11-30