[Issue 10196] ldapsearch with -h localhost resulting dns lookup