[jitsi-users] IP address DNS lookup


#1

Hello,

I'm using Jitsi (2.5.5350) with Prosody (0.9.7-1~wheezy1). There is something weird in my Prosody server logs, as it seems that Jitsi is always trying to resolve the real IP address of my XMPP server, instead of its hostname.

Any idea why?
Nikolaii

opening a new outgoing connection for this stanza
stanza [iq] queued until connection complete
First attempt to connect to 91.121.51.242, starting with SRV lookup...
Records for _xmpp-server._tcp.91.121.51.242. not in cache, sending query (thread: 0x1de3870)...
Sending DNS query to 192.168.0.1
server.lua: closed client handler and removed socket from list
Reply for _xmpp-server._tcp.91.121.51.242. (thread: 0x1de3870)
91.121.51.242 has no SRV records, falling back to A/AAAA
Records for 91.121.51.242 not in cache, sending query (thread: 0x1c9daa0)...
Sending DNS query to 192.168.0.1
server.lua: closed client handler and removed socket from list
Reply for 91.121.51.242 (thread: 0x1c9daa0)
DNS lookup failed to get a response for 91.121.51.242
Out of connection options, can't connect to 91.121.51.242
No other records to try for 91.121.51.242 - destroying
Destroying outgoing session call.inred.fr->91.121.51.242: DNS resolution failed
Sending error replies for 1 queued stanzas because of failed outgoing connection to 91.121.51.242


#2

Hello,

···

On 29/11/14 19:22, nikolaii wrote:

Hello,

I'm using Jitsi (2.5.5350) with Prosody (0.9.7-1~wheezy1). There is
something weird in my Prosody server logs, as it seems that Jitsi is
always trying to resolve the real IP address of my XMPP server, instead
of its hostname.

Any idea why?
Nikolaii

opening a new outgoing connection for this stanza
stanza [iq] queued until connection complete
First attempt to connect to 91.121.51.242, starting with SRV lookup...
Records for _xmpp-server._tcp.91.121.51.242. not in cache, sending query

That's prosody doing the resolving. Probably because a client is trying to send a message with "to=...@91.121.51.242". Do you have any such contacts in your roaster?

Regards,
Boris


#3

Hi, well I am the only client so far, so I guess this is my Jitsi which is sending this message. I think either something is wrong in my Prosody setup, or in my DNS setup (the SRV records I registered) ...

Thanks for your though.
Nikolaii

···

On 11/29/14 10:26 PM, Boris Grozev wrote:

Hello,

On 29/11/14 19:22, nikolaii wrote:

Hello,

I'm using Jitsi (2.5.5350) with Prosody (0.9.7-1~wheezy1). There is
something weird in my Prosody server logs, as it seems that Jitsi is
always trying to resolve the real IP address of my XMPP server, instead
of its hostname.

Any idea why?
Nikolaii

opening a new outgoing connection for this stanza
stanza [iq] queued until connection complete
First attempt to connect to 91.121.51.242, starting with SRV lookup...
Records for _xmpp-server._tcp.91.121.51.242. not in cache, sending query

That's prosody doing the resolving. Probably because a client is trying
to send a message with "to=...@91.121.51.242". Do you have any such
contacts in your roaster?

Regards,
Boris