The following was used for the contents of the etcresolv. 0 is the main user of the DNS service in this configuration. The configuration described in this document used both the etchosts file and the dnsmasq service to provide DNS services. Hostname resolution for cluster private interfaces may be done by one or two of the following services running on the infrastructure node.
Pod Select with Hortonworks Data Platform HDPDNS for Cluster Private Interfaces.