[ejabberd] ejabberd and SRV records

Danijel Tasov danielt at pilgerer.org
Sun Mar 19 16:47:39 MSK 2006


I'm a bit confused about the DNS SRV thing in ejabberd. I have read
http://ejabberd.jabber.ru/fix-dns-srv and the related links, and it
seems that people, including me ;), are still having problems.

When a gmail-user is online I don't see him as online until he sends a
message to me. When he goes offline he still apears online in my roster
for a long time, the same happens on jabber.ccc.de.

I'm running ejabberd-1.0.0 with erlang-r10b9 on FreeBSD 6 inside a jail.

ps shows:
ejabberd      30964  0.0  2.2 29212 22832  q7  SJ   12:49AM   
0:02.38 /usr/local/lib/erlang/erts-5.4.12/bin/beam -- 
-root /usr/local/lib/erlang -progname erl -- -home /var/spool/ejabberd -sname 
ejabberd -s ejabberd -ejabberd config "/usr/local/etc/ejabberd/ejabberd.cfg" 
log_path "/var/log/ejabberd/ejabberd.log" -sasl sasl_error_logger 
{file,"/var/log/ejabberd/sasl.log"} -mnesia dir "/var/spool/ejabberd" -kernel 
inetrc "/usr/local/etc/ejabberd/ejabberd.inetrc" -noshell -noshell -noinput 
-noshell -noinput

%{host,{127,0,0,1}, ["localhost","hostalias"]}.
{file, resolv, "/etc/resolv.conf"}.

domain pilgerer.org
search pilgerer.de pilgerer.org

erl -sname test -kernel inetrc \"/usr/local/etc/ejabberd/ejabberd.inetrc\"
Erlang (BEAM) emulator version 5.4.12 [source] [hipe] [threads:0] 

Eshell V5.4.12  (abort with ^G)
(test at hamlet)1> inet_res:getbyname("_xmpp-server._tcp.gmail.com", srv).
(test at hamlet)2> ets:tab2list(inet_db).
(test at hamlet)3> 

Danijel Tasov <danielt at pilgerer.org>
JID: data at jabber.pilgerer.org

More information about the ejabberd mailing list