Server address different then JID


First i would like to say that i was using ejabberd and i was thinking that it is the best jabber server but after ive found openfire ive changed my mind. IT IS PERFRECT! Really, really good work!

Anyway, i have a problem:

I`m using LDAP authentication to server and users jids are: (this is also their email). Jabber server is located at but jid is so i cannot connect to openfire via client even specify the In ejabberd i can simply do this, by setting server: and adding entries to nameserver: 86400 IN SRV 5 0 5269 86400 IN SRV 5 0 5269 86400 IN SRV 5 0 5222

I still got that entries in my domain, but with openfire i cannot connect.

Anyone know how to use that?

Thanks a lot,