Is your feature request related to a problem? Please describe.
The is a know problem in Kubernetes where DNS requests with less than 5 dots, is tried first with all possible suffixes (cluster.local, svc.cluster.local) instead of the full DNS name. So if the full DNS name is used, every single new network request will do 5+ wrong DNS requests before doing the right "raw" one.
Describe the solution you'd like
There must be a way to configure the dnsConfig spec for the pod. Most new helm charts are adding this option.
dnsConfig:
options:
- name: ndots
value: "1"
Describe alternatives you've considered
Looking at the code, it don't seem to be possible to do this manually.
Additional context
This makes network requests have a random delay under high load.
Is your feature request related to a problem? Please describe.
The is a know problem in Kubernetes where DNS requests with less than 5 dots, is tried first with all possible suffixes (cluster.local, svc.cluster.local) instead of the full DNS name. So if the full DNS name is used, every single new network request will do 5+ wrong DNS requests before doing the right "raw" one.
Describe the solution you'd like
There must be a way to configure the
dnsConfigspec for the pod. Most new helm charts are adding this option.Describe alternatives you've considered
Looking at the code, it don't seem to be possible to do this manually.
Additional context
This makes network requests have a random delay under high load.