Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

DNS SRV/TXT lookup for Openfire?

$
0
0

Hi,

 

how can you provide a DNS SRV lookup for Openfire server?

 

E.g. XMPP domain is:

 

xmpp.domain.com

 

Client makes a DNS SRV lookup for this domain and the result should be 2 DNS records, like:

 

199.192.1.2 (external IP)

168.x.x.x (internal IP)

 

The problem is our clients are sometimes connected via internal Intranet and sometimes over external Internet.

 

Client then first tries to connect to the external IP and if this doesn't work, the client is probably in the "intranet" network and tries the internal IP.

 

If that doesn't work either, the client should make a DNS TXT lookup and should try to connect with BOSH.

http://xmpp.org/extensions/xep-0156.html

 

Related links:

http://tools.ietf.org/html/rfc2782

http://xmpp.org/rfcs/rfc6120.html#tcp-resolution-prefer

 

The question is, how to install such lookup tables on the server, so that the client receives a result.


Viewing all articles
Browse latest Browse all 10742

Trending Articles