Hi
I'm not 100% sure, but as this REST query shows, internally it use IPs.
| rest splunk_server=*-cm-* /services/cluster/master/peers | fields id splunk_server host_port_pair register_search_address
r. Ismo