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

Solution Verified - Updated -

Issue

Why did you choose to set the ndots option with the value 5 in the resolf.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.

Environment

  • OpenShift Enterprise 3.x
  • OpenShift Container Platform

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.