SpinTheMic
Pro

Interview practice question

Slow DNS lookups in Kubernetes

Backend Engineering · Production Debugging · Intermediate

Traces show outgoing calls to external APIs from your Kubernetes pods sometimes spend hundreds of milliseconds in DNS lookups. Why might this happen?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • ndots:5 causes multiple search domain lookups.
  • Use fully qualified names (trailing dot) or lower ndots.
  • CoreDNS overloaded; NodeLocal DNSCache.
  • conntrack races with UDP.
  • Cache DNS in app.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics