We get rid of the additional settings of the jabber-client in Google apps
Judging by the number of advantages to the post about the use of google apps as a jabber server, this topic is of concern to users. Therefore, I decided to deposit my five kopecks.
The Google documentation says that when setting up a custom client, you need to enter the server talk.google.com and a port in the connection properties. This is not very convenient, because you need to remember these settings all the time, and it makes it difficult for your relatives / friends to set up the client, which only one word scares the port :) For some reason this does not say in the documentation for google apps , but you need to write the address and port which should be used when connecting, you can in dns srv records, but exactly where you specified addresses for federated networks.
Add a type entry: ')
_xmpp-client._tcp.yourdomain.com. IN SRV 5 0 5222 talk.google.com.
And wow, the client connects without any dancing and additional settings. It is worth adding that:
The client must support reading srv records. Tested customers: Work:
The client should give an error about server certificate mismatch, check that this certificate really belongs to Google, Inc. If yes, then quietly click ok.
It may take considerable time to update the records, so you should not expect that everything will work in a minute. Check whether your local dns server can see new records like this:
# nslookup
> set type = srv
> _xmpp-client._tcp.ivlis.com
Server: 195.208.192.19
Address: 195.208.192.19 # 53
Non-authoritative answer:
_xmpp-client._tcp.ivlis.com service = 5 0 5222 talk.google.com.
Authoritative answers can be found from:
For greater reliability, you can register several Google servers for a connection. How much it increases reliability, I do not know. Took from the same nslookup gmail.com
_xmpp-client._tcp.gmail.com service = 20 0 5222 talk1.l.google.com.
_xmpp-client._tcp.gmail.com service = 20 0 5222 talk2.l.google.com.
_xmpp-client._tcp.gmail.com service = 20 0 5222 talk3.l.google.com.
_xmpp-client._tcp.gmail.com service = 20 0 5222 talk4.l.google.com.
_xmpp-client._tcp.gmail.com service = 5 0 5222 talk.l.google.com.
Thank you for your attention, I hope someone this post will be useful!