I'm running the Bitnami TomcatStack _ which is based on Ubuntu 10.04 _ on Amazon EC2.
I have installed an Openfire server on top of it for handling XMPP, and in order to be able to chat with Google Talk clients, I have to define several SRV entries in the form:
_xmpp-server._tcp.YOURDOMAIN.COM. IN SRV 5 0 5269 xmpp-server.l.google.
Currently, I'm not trying to use any custom domain name. That is, instead of YOURDOMAIN.COM, I'm planning to put the default public DNS of my EC2 instance, in the form:
ec2-XX-XXX-XXX-XXX.compute-1.amazonaws.com
I think that "everything is in place", as I'm able to telnet on port 5269, from my Mac to the EC2 machine.
I guess the solution involves working with the "bind" command, but I could not find any tutorial adapted to my particular configuration, so thanks in advance for any tip!