how can you provide a DNS SRV lookup for Openfire server?
E.g. XMPP domain is:
Client makes a DNS SRV lookup for this domain and the result should be 2 DNS records, like:
188.8.131.52 (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.
The question is, how to install such lookup tables on the server, so that the client receives a result.