Why do pods/containers started by OpenShift have the option "ndots=5" in their /etc/resolv.conf?

Solution Verified - Updated -


  • Why did the ndots option sets with the value 5 in the /etc/resolv.conf file of the pods ?
  • Is it possible to modify the ndots default value at a pod level or cluster level?


  • Red Hat OpenShift Container Platform (RHOCP)
    • 3
    • 4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content