How to specify servername to use SNI

Hi all, I know mosquitto supports SNI but I would like to know how servername can be specified. I need to access two different MQTT+TLS endpoints inside a kubernetes cluster exposed by an IP address.
What I read about SNI is that I can use the cluster IP address and via SNI servername access different MQTT endpoints inside the cluster.

What I expected was something like

mosquitto_pub -h <cluster_ip_address>

and then the servername that can be servername_1 or servername_2 depending on the endpoint I want to connect to inside the cluster.
Is it possible? Am I’m wrong in something?

I’m afraid it’s not possible to specify a separate ip address and SNI hostname with the mosquitto clients. The SNI hostname is set based on the hostname provided, and the IP address is obtained through a DNS lookup.