-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 8/27/09 10:16 PM, Mark Achée wrote:
> What I think that you are missing is that not only does the SRV record
> define the port, but it defines the server hostname/ip.  So IF you
> wanted to, you could host your wave server on a totally different domain.
> 
> _xmpp-server._tcp.wave.microcomaustralia.com.au
> <http://tcp.wave.microcomaustralia.com.au/> SRV record 5 0
> 5269 chat.some-other-domain. <http://chat.microcomaustralia.com.au/>tld
> 
> So now people can still send waves to
> [email protected]
> <mailto:[email protected]>, but those waves are
> actually sent to the chat.some-other-domain.tld server.
> 
> In the above instance, you WOULDN'T need the
> wave.microcomaustralia.com.au <http://wave.microcomaustralia.com.au> A
> record, because it's never used as an actual domain name.  the
> chat.some-other-domain.tld A record would have to exist somewhere though.

That's all correct. In fact, this is how Google Apps and other XMPP
hosting providers service lots of domains -- your point example.com to
xmpp-server.l.google.com or whatever they need.

Example:

$ dig +short -t SRV _xmpp-server._tcp.gmail.com
5 0 5269 xmpp-server.l.google.com.
20 0 5269 xmpp-server1.l.google.com.
20 0 5269 xmpp-server2.l.google.com.
20 0 5269 xmpp-server3.l.google.com.
20 0 5269 xmpp-server4.l.google.com.

Think of an SRV as just like an MX record, but for any kind of service
(not just email), and with built-in weighting to enable basic load
balancing etc.

Peter

- --
Peter Saint-Andre
https://stpeter.im/


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqXWyUACgkQNL8k5A2w/vxB1gCgvBecQ4TFajT7EJV6IdDvSZTr
srIAoPXxMz0zNltYrl+uub8O/sO1K5bJ
=uVG8
-----END PGP SIGNATURE-----

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Wave 
Protocol" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/wave-protocol?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to