OpenWrt Forum Archive

Topic: wget via proxy without dns-resolving

The content of this topic has been archived on 27 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

why wget always tries to resolv the domainname locally when it should use a proxy?

wget http://google.de -Y on

opkg update works via proxy without local dns-resolving!

Regards

Uh, I must set it via export!

export http_proxy="http://127.0.0.1:8080"

Then it's also not necessary to use wget's flag -Y on
Btw, http_proxy is case sensitiv - on Backfire 10.03.1 it must be lowercase!

(Last edited by onlineuser on 17 Mar 2013, 23:23)

The discussion might have continued from here.