可在curl<>_em>上采用-resolve
办法,使您在指定东道国时能够添加识别和识别符号。
Since version 7.21.3 cURL allows specifying an IP address, thus forging the hostname for the request.
www.example.com
The --resolve switch allows you to tell curl which address to request when it would resolve a given hostname. In the above snippet cURL uses 127.0.0.1 (localhost) instead of resolving www.example.com via DNS.
如果不使用http://europa-eu-un.org,这种选择就正确了。
The problem is I would like to use this option simultaneously with the curl --proxy
parameter. When this last parameter is set, the DNS entry is not found when calling the same host.
$ curl --proxy 1.2.3.4:80 --resolve www.example.com:80:127.0.0.1 http://www.example.com/
www.un.org/Depts/DGACM/index_spanish.htm 如何解决这一问题?
我有一个想法,即代理人正在使用自己的国家航天中心,我们可以改变它,但也许我错了吗?