Configuring DNS for instant messaging
About SRV records
SRV (service) records are entries in your DNSDomain Name System - Enables the translation of hostnames to IP addresses and provides other domain related information. which specify the location of service servers. You must configure SRV records to make instant messaging in Kerio Connect accessible from other servers.
There are two types of SRV records:
- xmpp-server — necessary if you enable sending messages outside of your domain
- xmpp-client
Go to the Kerio Connect administration (Configuration > Instant MessagingInstant messaging is a real-time online chat.) to check if the SRV records for your domain are configured. For more information refer to Configuring instant messaging in Kerio Connect.
You must add SRV records on your DNS server or use the management interface of your DNS registrar to add the records.
NOTE
Visit XMPP wiki for more information on SRV records.
Configuring DNS records for server to server communication
Follow this example to add a server SRV recordService record is a record in DNS that specifies the location of server for individual services. to your DNS
_xmpp-server._tcp.feelmorelaw.com. 18000 IN SRV 0 5 5269 mail.feelmorelaw.com.
Fields | Description |
---|---|
Service | _xmpp-server
|
Protocol | _tcp
|
Hostname/Name | Your domain name |
Priority | Priority of the target |
Weight | Weight for records of the same priority |
Port | 5269
|
Target/Value | Your server hostname |
TTL | Time to live value |
The following items can be changed:
- Domain name (
feelmorelaw.com
) - Server hostname (
mail.feelmorelaw.com
) - TTL (
18000
) - Record priority (
0
) - Record weight (
5
)
IMPORTANT
Do not change the port number (5269
).
Configuring DNS records for client auto-configuration
If the name of your domain differs from the name of the instant messaging server, you can add a client SRV record to your DNS.
This record allows auto-configuration of instant messaging clients. Without the client SRV record, users must manually specify the server and port in their client configuration.
Follow this example to add a client SRV record to your DNS:
_xmpp-client._tcp.feelmorelaw.com. 18000 IN SRV 0 5 5222 mail.feelmorelaw.com.
Fields | Description |
---|---|
Service | _xmpp-client
|
Protocol | _tcp
|
Hostname/Name | Your domain name |
Priority | Priority of the target |
Weight | Weight for records of the same priority |
Port | Port for communication from client to server |
Target/Value | Your server hostname |
TTL | Time to live value |
The following items can be changed:
- Domain name (
feelmorelaw.com
) - Server hostname (
mail.feelmorelaw.com
) - TTL (
18000
) - Record priority (
0
) - Record weight (
5
) - Port
5222