Use DNS with HBase
You must configure DNS to resolve RegionServer and Master hostnames in your cluster. HBase uses the local hostname to report its IP address. Both forward and reverse DNS resolving works.
You must configure a few parameters in the
hbase-site.xml to use DNS
If your server has multiple interfaces, HBase uses the interface that the primary hostname resolves to, and you must ensure that the cluster configuration is consistent and every host has the same network interface configuration. If this is your use case:
hbase-site.xmlfile to indicate the primary interface.
hbase-site.xmlfile to a different DNS name server.