From 1a2c66d1ccff1d696c60e45498dcc82e55142777 Mon Sep 17 00:00:00 2001
From: Zhang Huangbin
Date: Mon, 20 Apr 2020 18:46:05 +0800
Subject: [PATCH] Mention SRV records for Jabber/XMPP.
---
en_US/installation/0-setup.dns.md | 21 +++++++++++++++++++++
html/setup.dns.html | 17 +++++++++++++++++
2 files changed, 38 insertions(+)
diff --git a/en_US/installation/0-setup.dns.md b/en_US/installation/0-setup.dns.md
index e9d94e7f..fccdfdce 100644
--- a/en_US/installation/0-setup.dns.md
+++ b/en_US/installation/0-setup.dns.md
@@ -349,6 +349,27 @@ v=DMARC1; adkim=s; aspf=s; p=reject; sp=none; rua=mailto:dmarc@mydomain.com; ruf
information is to be reported. Currently only `mailto:` is supported. This is
optional.
+## SRV record for Jabber/XMPP service
+
+If you install Prosody (with iRedMail Easy platform) as Jabber/XMPP server,
+2 SRV records are required.
+
+If your mail domain name is `mydomain.com` and server hostname is
+`mail.mydomain.com`, you should add 2 SRV type DNS records:
+
+- `_xmpp-client._tcp.mydomain.com`
+- `_xmpp-server._tcp.mydomain.com`
+
+Sample records:
+
+```
+_xmpp-client._tcp.mydomain.com 18000 IN SRV 0 5 5222 mail.mydomain.com
+_xmpp-server._tcp.example.com. 18000 IN SRV 0 5 5269 mail.mydomain.com
+```
+
+The target domain `mail.mydomain.com` __MUST__ be an existing A record, it
+cannot be an IP address or a CNAME record.
+
## Register your mail domain in Google Postmaster Tools
This step is __optional__, but __highly recommended__.
diff --git a/html/setup.dns.html b/html/setup.dns.html
index b0745206..ab9b2a48 100644
--- a/html/setup.dns.html
+++ b/html/setup.dns.html
@@ -50,6 +50,7 @@
How to setup the DMARC record
+SRV record for Jabber/XMPP service
Register your mail domain in Google Postmaster Tools
Check Outlook.com Postmaster site
References
@@ -364,6 +365,22 @@ recommended.
information is to be reported. Currently only mailto:
is supported. This is
optional.
+SRV record for Jabber/XMPP service
+If you install Prosody (with iRedMail Easy platform) as Jabber/XMPP server,
+2 SRV records are required.
+If your mail domain name is mydomain.com
and server hostname is
+mail.mydomain.com
, you should add 2 SRV type DNS records:
+
+_xmpp-client._tcp.mydomain.com
+_xmpp-server._tcp.mydomain.com
+
+Sample records:
+_xmpp-client._tcp.mydomain.com 18000 IN SRV 0 5 5222 mail.mydomain.com
+_xmpp-server._tcp.example.com. 18000 IN SRV 0 5 5269 mail.mydomain.com
+
+
+The target domain mail.mydomain.com
MUST be an existing A record, it
+cannot be an IP address or a CNAME record.
Register your mail domain in Google Postmaster Tools
This step is optional, but highly recommended.
Google Postmaster Tools web site: https://postmaster.google.com, and