The issue arises from the dns to ldap dn escape function in src/ldap convert.c, which fails to properly escape distinguished names (DN) for LDAP queries. This allows remote DNS servers to cause a denial of service, specifically a named service hang, by including a "$" character in a DN within a DNS query.