reverse DNS query for LDAP server with nss_ldap

With nss_ldap Debian unstable host, when I start a lot of softwares (XTerm, bash, top, xmms, etcetera), there is a reverse DNS query for LDAP server. I don’t know why there is this reverse DNS query !!
The problem is when this reverse DNS query fails and you use Avahi daemon : all this softwares start after 2 or 3 seconds. Example, if I start XTerm… I wait 3 seconds… Xterm window appears … I wait 3 seconds… bash prompt appears : WTF.
Workarounds could be :
– Add line for LDAP server in /etc/hosts
– Have reverse DNS entrie in DNS server
– Disable Avavhi daemon use in nsswitch.conf

One Response to “reverse DNS query for LDAP server with nss_ldap”

  1. bdauvergne says:

    Y a un module forké pour nss-ldap
    http://ch.tudelft.nl/~arthur/nss-ldapd/news.html
    ça pourrait aider.