Re: forward-override DNS
Theo Cushion <[email protected]>
| Newsgroups | gmane.comp.web.privoxy.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Fabian, I’ve resolved the issue. I had misunderstood the toggle option. Once toggle was enabled it all worked as expected! Thanks for your help, Theo > On 14 Mar 2018, at 08:38, Fabian Keil <[email protected]> wrote: > > Theo Cushion <[email protected]> wrote: > >> I have several several proxy servers that are used to access various >> different services. Some of these require authentication while others do >> not. >> >> Reading through the documentation it looks like I should use actions to >> ensure that the Proxy-Authorization header is added, and I can use >> forward-override to go to the correct proxy server. >> >> My example user.action is this: >> >> {{alias}} >> authenticated-proxy = +add-header{Proxy-Authorization: Basic <BASE64 >> User password>} +forward-override{forward the_parent_proxy:80} >> unauthenticated-proxy = +forward-override{forward >> another_parent_proxy:80} >> >> { authenticated-proxy } >> / >> >> My config file is pretty standard. >> >> I’ve used config.privoxy.org <http://config.privoxy.org/> to check that >> the URL’s I’m interested in have the correct actions applied - they do. >> However, when making a request I get a 404 response because the DNS >> cannot be resolved (my local machine cannot resolve DNS and relies on >> the proxies to do this) >> >> However, if I remove the forward-override in the user.action stuff and >> in config.txt just do: >> >> forward / the_parent_proxy:80 >> >> Then Privoxy appears to use the parent proxy to resolve the requests as >> expected and it all works. Looking through the manual I can’t see any >> settings that look like they affect this behaviour? Is this expected? > > This is not expected. With "forward-override{forward the_parent_proxy:80}" > Privoxy shouldn't attempt to do a DNS lookup either. > > Did you enable logging to confirm that the forward-override action > is enabled? A log excerpt would probably help to debug this. > > Fabian > > _______________________________________________ Privoxy-users mailing list [email protected] https://lists.privoxy.org/mailman/listinfo/privoxy-users