ejabberd - Comments for "SRV records" https://www.ejabberd.im/node/5016 en Not only for external user. https://www.ejabberd.im/node/5016#comment-57978 <p>Not only for external user. SRV records allow for client autoconfiguration as well: when users configure their clients they only have to specify that their usernames are "xyz" and their domain is "yourcompany.com", and don't need to specify the exact server in the yourcompany.com that runs xmpp server.</p> Sun, 30 Oct 2011 01:02:38 +0000 mikekaganski comment 57978 at https://www.ejabberd.im I'm no expert with ejabberd - https://www.ejabberd.im/node/5016#comment-57969 <p>I'm no expert with ejabberd - only just getting started.<br /> But I believe the purpose of SRV records are to allow other people to contact your users using your JIDs.</p> <p>So if the JID <noindex><a href="mailto:someone@yourcompany.com" rel="nofollow" >someone@yourcompany.com</a></noindex> wants to chat/buddy with <noindex><a href="mailto:user@gmail.com" rel="nofollow" >user@gmail.com</a></noindex>, it works because gmail.com publishes SRV records which tells <noindex><a href="mailto:someone@yourcompany.com" rel="nofollow" >someone@yourcompany.com</a></noindex> which A record to go to for gmail.com's XMPP server.</p> <p>The reason you might want SRV records for your domain, is to allow an external user <noindex><a href="mailto:user@gmail.com" rel="nofollow" >user@gmail.com</a></noindex> to chat/buddy with <noindex><a href="mailto:someone@yourcompany.com" rel="nofollow" >someone@yourcompany.com</a></noindex><br /> <noindex><a href="mailto:user@gmail.com" rel="nofollow" >user@gmail.com</a></noindex> would type in <noindex><a href="mailto:someone@yourcompany.com" rel="nofollow" >someone@yourcompany.com</a></noindex> to start a chat. Without publishing SRV records, their XMPP client might not be able to find your XMPP server to start the connection.</p> <p>Hope that makes sense!?</p> <p>Again, I might be wrong on this so someone please correct me if I am!<br /> I still need to learn as well ;)</p> Wed, 26 Oct 2011 22:56:48 +0000 batfastad comment 57969 at https://www.ejabberd.im I've read this from https://www.ejabberd.im/node/5016#comment-57954 <p>I've read this from <noindex><a href="http://www.jabberdoc.org/section05#5_7:" title="http://www.jabberdoc.org/section05#5_7:" rel="nofollow" >http://www.jabberdoc.org/section05#5_7:</a></noindex></p> <p>N Note: SRV Records Required Only for Non-Primary Host<br /> Note that DNS SRV records are required only if your Jabberd server is running on a host other than the primary domain host and if you do not wish to include the host (machine) name in your Jabber ID. For example, if a DNS query for somedomain.com resolves host1.somedomain.com, and your Jabberd server is running on host1, SRV records would not be required. </p> <p>so i suppose since im running ejabberd from my domain "example.com" and not an host like "xmpp.example.com" the DNS SRVs are not "mandatory and required" so they can be added or not at my own discrection</p> Thu, 20 Oct 2011 19:39:23 +0000 banana comment 57954 at https://www.ejabberd.im badlop wrote: banana https://www.ejabberd.im/node/5016#comment-57949 <div class="quote-msg"> <div class="quote-author"><em>badlop</em> wrote:</div> <div class="quote-msg"> <div class="quote-author"><em>banana</em> wrote:</div> <p>I would let my users communicate to other servers so when i setup ejabberd i MUST setup the SRV record right?</p></div> <p>Probably yes, check <a href="http://www.ejabberd.im/node/2976" title="http://www.ejabberd.im/node/2976">http://www.ejabberd.im/node/2976</a> and the links on the bottom.</p></div> <p>Ok wait :) i understood everything about that docs but...my question is:</p> <p>I have a dedicated box where i only run ejabberd on my domain example.com and my jids are @example.com</p> <p>Should i really need the SRVs or just an A record to my box is fine (A record *.mydomain.com to box IP)???<br /> Of course my users should be able to do s2s connections so the SRVs are mandatory or not????</p> <p>:)</p> Thu, 20 Oct 2011 17:29:53 +0000 banana comment 57949 at https://www.ejabberd.im banana wrote: I would let my https://www.ejabberd.im/node/5016#comment-57946 <div class="quote-msg"> <div class="quote-author"><em>banana</em> wrote:</div> <p>I would let my users communicate to other servers so when i setup ejabberd i MUST setup the SRV record right?</p></div> <p>Probably yes, check <a href="http://www.ejabberd.im/node/2976" title="http://www.ejabberd.im/node/2976">http://www.ejabberd.im/node/2976</a> and the links on the bottom.</p> Thu, 20 Oct 2011 09:05:55 +0000 mfoss comment 57946 at https://www.ejabberd.im I would let my users https://www.ejabberd.im/node/5016#comment-57944 <p>I would let my users communicate to other servers so when i setup ejabberd i MUST setup the SRV record right?</p> Wed, 19 Oct 2011 20:07:46 +0000 banana comment 57944 at https://www.ejabberd.im banana wrote: but my users https://www.ejabberd.im/node/5016#comment-57943 <div class="quote-msg"> <div class="quote-author"><em>banana</em> wrote:</div> <p>but my users can use their jid at my server to communicate to others. My question is: should i add the SRV records? is it something usefull?</p></div> <p>Useful for what purpose? You didn't specify what is exactly the problem, or what works unexpectedly.</p> <p>Probably you don't want users in your server to communicate with other servers. In that case, you must disable S2S in ejabberd. For that, disable the ejabberd_s2s listener in ejabberd.cfg</p> Wed, 19 Oct 2011 18:38:20 +0000 mfoss comment 57943 at https://www.ejabberd.im