Существует ли стандарт именования домена для сервера XMPP?

385
rwx

У меня есть работающий сервер XMPP, для которого установлен (под) домен xmpp.domain.tld.

Должен ли я изменить его домен, чтобы он имел тот же адрес, что и моя почта ( domain.tld)?

Это плохой стиль, который вы не должны делать, потому что проблема в том, что вы не видите, что это учетная запись XMPP или лучше, потому что у всех будет один идентификатор для интернет-общения?

Различия в имени аккаунта:

username@xmpp.domain.tld против username@domain.tld

1

1 ответ на вопрос

1
unor

I don’t think there is a standard for naming the domain name. Technically it’s not necessary, because the relevant information is saved in the DNS records (i.e., _xmpp-client._tcp and _xmpp-server._tcp), so it’s only a usability question.

I think it makes more sense to use username@example.com for both, your JID and your email address. That way you, you only need to tell your people one address (and they only have to remember one) and mention that they can reach you via XMPP and/or email.

On the Web, you can specify which channel to use, by linking to the full URIs, e.g.,

<a href="xmpp:username@example.com">…</a> <a href="mailto:username@example.com">…</a> 

Of course people might still confuse it (especially those that consider anything with a @ to be an email address), but thanks to offering both channels under the same address, their message will not be lost.

Похожие вопросы