Projects tigase _server server-core Issues #162
ctrl k
VHost addition in cluster mode verifies only one DNS entry (#162)
wojciech.kapcia@tigase.net opened 1 decade ago

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:

vhost-man/dns-def-ip=94.23.164.209
vhost-man/dns-srv-def-addr=tigase.me

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.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
860
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#162
Please wait...
Page is in error, reload to recover