Benjamin M. Schwartz schrieb:
Unfortunately, it is possible that multiple school
servers will be using different ports on the same global IPv4 address.
The result would be multiple servers with the same IP address. I imagine
that this breaks s2s, since the XMPP standard seems to demand that
servers' names be unique, and either IP addresses or DNS names.
the XMPP domain of your server must be unique. So you could have xmpp
domains like:
server001.school.org
server002.school.org
...
server100.school.org
if you setup SRV records for all this domains you should be fine. In the
srv record you specify the s2s and c2s ports.
Alex