SRV records with Openfire on subdomain

Hello community,

I’m hoping someone can clarify something for me:

domain: example.com

Openfire looks like it runs on: im.example.com

That is to say, when clients log in, they log in as @im.example.com.

Openfire is actully running on: im01.example.com

xmpp.domain = im.example.com

xmpp.fqdn = im01.example.com

In DNS, im.example.com is a CNAME pointing to im01.example.com.

What should the SRV records look like?

-A-

jabber.tcp.im.example.com. 3600 IN SRV 0 0 5269 im01.example.com.

xmpp-client.tcp.im.example.com. 3600 IN SRV 0 0 5269 im01.example.com.

xmpp-server.tcp.im.example.com. 3600 IN SRV 0 0 5222 im01.example.com.

-B-

_jabber._tcp.im.example.com. 3600 IN SRV 0 0 5269 im01.example.com.

_xmpp-client._tcp.im.example.com. 3600 IN SRV 0 0 5269 im01.example.com.

_xmpp-server._tcp.im.example.com. 3600 IN SRV 0 0 5222 im01.example.com.

I’ve seen it both ways in the forums and I’m hoping to get a definitive answer for the record.

In my setup, it works with -B-, not -A-. I run Openfire on a private network. My DNS servers are Windows Server 2003 domain controllers, my Openfire server runs on Linux. My clients run Windows or Linux and some connect via VPN.

Thanks.

Brent Gardner