Different domains and SRV

Hi!

I read a couple of posts regarding the SRV records, but I stil don’'t get it. My problem:

The JIDs should be ...@selfnet.at (for example thomas.schallar@selfnet.at).

The Wildfire server’'s DNS name is jabber.selfnet.at (212.236.250.47); selfnet.at resolves to another IP (212.236.250.49)!

The xmpp.domain is selfnet.at.

I entered the following SRV records into the zonefile of selfnet.at:

jabber.tcp SRV 5 0 5269 jabber.selfnet.at.

xmpp-client.tcp SRV 5 0 5222 jabber.selfnet.at.

xmpp-server.tcp SRV 5 0 5269 jabber.selfnet.at.

I was unable to connect to the server, unless I forwarded the incoming XMPP connections on the router/firewall:

for jabberport in 7777 9090 9091 5222 5223 5269

do

iptables -t nat -A PREROUTING -d 212.236.250.49 -p tcp --dport $jabberport -j DNAT --to 212.236.250.47

done

But I think that’‘s not how it’'s intended to be…

Is it maybe a client problem? I use Psi (http://psi-im.org/), because I work with Linux, Windows and Mac OsX and Psi is available for all three OSes.

PLEASE can somebody enlighten me?

THANK YOU!

Thomas

Hi Thomas

"The Wildfire server’'s DNS name is jabber.selfnet.at (212.236.250.47); selfnet.at resolves to another IP (212.236.250.49)!

jabber.tcp SRV 5 0 5269 jabber.selfnet.at.

xmpp-client.tcp SRV 5 0 5222 jabber.selfnet.at.

xmpp-server.tcp SRV 5 0 5269 jabber.selfnet.at."

The clients would resolve selfnet.at to 212.236.250.49 if the client isn’‘t SRV record aware - I’‘m not sure if PSI is, but I know Exodus (windows only) is. I use 0.9.1.0. Your XMPP domain is stated as being selnet.at - why don’'t you change the domain to be jabber.selfnet.at or shorten it to im.selfnet.at changing the records accordingly ?

I think that may solve your problem. You can also enable debug on the client and examine the output.

Martyn

Schöne Grüße aus dem 10. Bezirk!

ViennaAustria wrote:

I read a couple of posts regarding the SRV records, but I stil don’'t get it.

Your setup looks ok.

Is it maybe a client problem? I use Psi (http://psi-im.org/), because I work with Linux, Windows and Mac OsX and Psi is available for all three OSes.

Yes, some clients have issues with that (including Jivesoftware’'s XMPP library, Smack). However, it should work fine with s2s, so all you have to do is to manually specify the correct server in those broken clients.