ejabberd - Comments for "Strange error for some hosts" https://www.ejabberd.im/node/4462 en We have this very problem on https://www.ejabberd.im/node/4462#comment-57111 <p>We have this very problem on our server now in production (Erlang R14A) after moving from an older machine, but we don't know Erlang. Can you help us in debugging the problem with detailed instructions?</p> <p>thanks!<br /> matteo</p> Tue, 01 Mar 2011 17:32:20 +0000 della comment 57111 at https://www.ejabberd.im If you look at the error https://www.ejabberd.im/node/4462#comment-56913 <p>If you look at the error report, the DNS query is [&lt;&lt;"_xmpp-server"&gt;&gt;,&lt;&lt;"_tcp"&gt;&gt;,&lt;&lt;"die-informatiker"&gt;&gt;,&lt;&lt;"eu"&gt;&gt;,&lt;&lt;&gt;&gt;]</p> <p>That &lt;&lt;&gt;&gt; at the end shouldn't be there. I tested a little with my ejabberd (Erlang R14B01 and R13B03), and couldn't reproduce your problem: all s2s works well in my server.</p> <p>In an ejabberd live I tried:</p> <p>ejabberd_s2s_out:get_addr_port("die-informatiker.eu").<br /> [{"die-informatiker.eu",5269}]</p> <p>In a simple erlang, I tried:</p> <p>inet_res:getbyname("_xmpp-server._tcp.die-informatiker.eu",srv,10000).<br /> {error,nxdomain}</p> <p>You should check what changed in the ejabberd machine shortly before the problem was first reported: system upgrade, erlang upgrade, ...?. You can try to restart ejabberd.</p> <p>If you find no clue, it would be possible to add some log lines to ejabberd_s2s_out.erl to see what exact calls to Erlang's inet_res does ejabberd perform in your server.</p> Sat, 25 Dec 2010 00:51:32 +0000 mfoss comment 56913 at https://www.ejabberd.im