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

Solution Verified - Updated -


Why did you choose to set the ndots option with the value 5 in the resolv.conf file of the pods ?

We think that it would be better to set it to 4 in line with service.namespace.svc.cluster.local.

With the value 5 it generates unnecessary DNS queries.


  • OpenShift Enterprise 3.x
  • OpenShift Container Platform

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