On a system which runs named, and uses LDAP nss, the name of the directory server must apear in /etc/hosts. This may mean adding another entry, or using one of the existing names, if the LDAP server is also local.