For the Tigase working in cluster mode with multiple DNS entries configured adding VHost doesn't work in all cases due to the fact that for the verification purposes only one DNS entry (with the highest priority) is taken for comparison, which may not be the one that the user is connected to.
Artur Hefczyc commented 1 decade ago
This is not a bug and it works correctly, it is a configurable element. To fix the issue you have to add following lines to the init.properties:
Such a configuration was included on the old tigase.im service but it has been commented out on the cluster installation. Normally, when you setup and DNS for the XMPP service you should not point it to multiple IP addresses. Instead you should point it to a single virtual DNS address, such as tigase.me, which in turn points to multiple IP addresses.
This way the, you do not have to change DNS for all virtual domains in case IP for one cluster node changed. You just update the domain to which all vhost point to, tigase.me in our case.
For the Tigase working in cluster mode with multiple DNS entries configured adding VHost doesn't work in all cases due to the fact that for the verification purposes only one DNS entry (with the highest priority) is taken for comparison, which may not be the one that the user is connected to.