Hi, I found the culprit which was avahi-daemon... By disabling avahi-daemon, gethostbyaddr() (and similarly getnameinfo()) returns instantaneously. I wonder whether avahi-daemon is enabled by default in distributions like Debian and Fedora. From this page (http://avahi.org/wiki/AboutAvahi#Distributions) it seems that avahi is included in those distributions. Maybe it is a matter of configuration then.
Regards, Babis P.S.: Thank you Rémy for suggesting strace. It is a very helpful command. On Mon, Dec 12, 2011 at 1:48 PM, Charalampos Nikolaou <char...@di.uoa.gr> wrote: > Same behavior. > > Babis > > On Mon, Dec 12, 2011 at 12:16 PM, Stefan de Konink <ste...@konink.de> wrote: >> Can you also check what happens if you add to /etc/resolv.conf: >> >> options single-request >> >> (Just to exclude it is not some form of glibc 2.10+ dns/firewall issue.) >> >> >> Stefan ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Monetdb-developers mailing list Monetdb-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers