Open ocervell opened 9 months ago
@ocervell Apologies for the very late reply. Internally we use fastdialer and by default we parse the content of the hosts
file along with retrying with system resolvers on failure. Are you still able to reproduce the issue?
I am running a Privoxy proxy and a client using
httpx
within kubernetes, trying to havehttpx
use that proxy when making requests.Full DNS name Running with the full k8s DNS name
tor-privoxy.default.svc.cluster.local
works:Service reduced DNS name Running with the reduced k8s DNS name
tor-privoxy
as proxy doesn't seem to work (no results):Seems like httpx's DNS resolution doesn't work all the way but I'm not getting any error from the output. Name resolution using nslookup does work:
Service IP Running with the proxy's IP works fine as well:
The
resolv.conf
on k8s is like:I wasn't sure if the resolvers flag (
-r
) worked for proxy DNS, but I've tried passing it-r 10.96.0.10
to no effect: are we bypassing default system DNS resolution ?