curl / Mailing Lists / curl-users / Single Mail


Resolution of host name before checking against no_proxy env variable

From: Piotr Dobrogost <>
Date: Fri, 7 Dec 2018 10:09:35 +0100

It seems curl checks host name – given as a parameter on the command line –
against no_proxy environment variable without doing name resolution first.
Is this the case?
If so could it also check against resolved domain name?
As it is now there's no way to skip http proxy for all single-label host
names by setting no_proxy=.local.domain.suffix as to curl all single-label
host names are not related in any way.

Piotr Dobrogost

Received on 2018-12-07