Druid uses wrong host names for communication in cluster

Hi,
I just set up a druid cluster with 3 servers.

All servers have a public network interface and a private network interface.
I would like to use the private network interface for the cluster. however, druid is using the public network interface.

servers hostnames are set to the public network interface.

for example on druid-1 :

jjj@druid-1:~$ hostname
druid-1

jjj@druid-1:~$ cat /etc/hosts
[…]
158.xx.xx.xx druid-1
158.xx.xx.xx druid-2
158.xx.xx.xx druid-3

10.20.0.102 intern-druid-1
10.20.0.103 intern-druid-2
10.20.0.104 intern-druid-3

``

druid uses zookeeper on private interface:

druid.zk.service.host=intern-druid-1,intern-druid-2,intern-druid-3

``

I would like druid to use intern-druid-X but it uses druid-X which is firewalled. For example on druid-2/intern-druid-2:

2017-10-19T09:55:01,329 WARN [HttpClient-Netty-Boss-0] org.jboss.netty.channel.SimpleChannelUpstreamHandler - EXCEPTION, please implement org.jboss.netty.handler.codec.http.HttpContentDecompressor.exceptionCaught() for proper handling.
org.jboss.netty.channel.ConnectTimeoutException: connection timed out: druid-1/158.xx.xx.xx:8083
at org.jboss.netty.channel.socket.nio.NioClientBoss.processConnectTimeout(NioClientBoss.java:139) [netty-3.10.6.Final.jar:?]
at org.jboss.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:83) [netty-3.10.6.Final.jar:?]
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337) [netty-3.10.6.Final.jar:?]
at org.jboss.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42) [netty-3.10.6.Final.jar:?]
at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) [netty-3.10.6.Final.jar:?]
at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42) [netty-3.10.6.Final.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_141]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_141]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_141]

2017-10-19T09:55:01,332 WARN [DruidSchema-Cache-0] io.druid.sql.calcite.schema.DruidSchema - Metadata refresh failed, trying again soon.
io.druid.java.util.common.RE: Failure getting results for query[null] url[http://druid-1:8083/druid/v2/] because of [org.jboss.netty.channel.ChannelException: Faulty channel in resource pool]
at io.druid.client.DirectDruidClient$JsonParserIterator.init(DirectDruidClient.java:631) ~[druid-server-0.10.1.jar:0.10.1]
at io.druid.client.DirectDruidClient$JsonParserIterator.hasNext(DirectDruidClient.java:563) ~[druid-server-0.10.1.jar:0.10.1]
at io.druid.java.util.common.guava.BaseSequence.accumulate(BaseSequence.java:45) ~[java-util-0.10.1.jar:0.10.1]
at io.druid.java.util.common.guava.MappedSequence.accumulate(MappedSequence.java:43) ~[java-util-0.10.1.jar:0.10.1]
[…]
Caused by: org.jboss.netty.channel.ConnectTimeoutException: connection timed out: druid-1/158.xx.xx.xx:8083
at org.jboss.netty.channel.socket.nio.NioClientBoss.processConnectTimeout(NioClientBoss.java:139) ~[netty-3.10.6.Final.jar:?]

``

How can I solve this?
thank you.

just forget this post.

I just had to add
druid.host=intern-druid-X
in _common/common.runtime.properties

thank you!