I found this handy generator on the web
http://www.jms1.net/jabberd2/srv.shtml

After adding the generated lines to my DNS-server (and removing that
line from iptables) things seems to work ok. I can now add contacts and
send/request authorizations, without any trouble.

However, I still get this error in the logs. And it's still the wrong IP
Oct 13 08:53:17 mail jabberd/s2s[21259]: [8] [213.206.112.80, port=5269]
outgoing connection for 'mydomain.nl'
Oct 13 08:53:17 mail jabberd/s2s[21259]: [8] [213.206.112.80, port=5269]
write error: Connection refused (111)
Oct 13 08:53:17 mail jabberd/s2s[21259]: [8] [213.206.112.80, port=5269]
disconnect, packets: 0

This is what I have put in my DNS-record:
_jabber._tcp.mydomain.nl.       IN SRV   0 0 5269   mail.mydomain.nl.
_xmpp-server._tcp.mydomain.nl.  IN SRV   0 0 5269   mail.mydomain.nl.
_xmpp-client._tcp.mydomain.nl.  IN SRV   0 0 5222   mail.mydomain.nl.

Op dinsdag 13-10-2009 om 08:28 uur [tijdzone +0200], schreef Tomasz
Sterna:
> Dnia 2009-10-12, pon o godzinie 11:28 +0200, GBU - Marinus ten Napel
> pisze:
> > 192.168.1.3 is the internal IP of the jabberd2-server. This line will
> > force all traffic, directed to the wrong IP, back to the
> > jabberd2-server. This hack does make things work, but it is a dirty
> > fix.
> > I have no idea how to fix it properly. Hopefully someone here can help
> > me out.
> 
> You need to configure DNS SRV records for your server.
> 
>   $ host -t SRV _xmpp-server._tcp.mydomain.nl.
>   _xmpp-server._tcp.mydomain.nl has no SRV record
>   $ host -t SRV _xmpp-client._tcp.mydomain.nl.
>   _xmpp-client._tcp.mydomain.nl has no SRV record
> 
> Lacking these causes the A record fallback and server connecting to the
> address of the domain itself.
> 
>   $ host -t A mydomain.nl.
>   mydomain.nl has address 85.158.249.135
> 
> 
> -- 
> Tomasz Sterna
> Instant Messaging & EDI Consultant
> Open Source Developer
> http://tomasz.sterna.tv/  http://www.xiaoka.com/
> 
> 
-- 
Met vriendelijke groet,
Marinus ten Napel - Systeembeheerder

GBU grafici <> PARTNERS IN GRAFIMEDIA
0527-689168 <> www.gbugrafici.nl 



-- 
To unsubscribe send a mail to [email protected]

Reply via email to