Proxy in k8s: short DNS name not resolved properly #1375
Labels
Type: Enhancement
Most issues will probably ask for additions or changes.
Type: Question
A query or seeking clarification on parts of the spec. Probably doesn't need the attention of all.
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 ?The text was updated successfully, but these errors were encountered: