https://bugs.openldap.org/show_bug.cgi?id=10291
--- Comment #3 from Aki Tuomi cmousefi@gmail.com --- I also checked
$ getent ahosts localhost ::1 STREAM localhost ::1 DGRAM ::1 RAW 127.0.0.1 STREAM 127.0.0.1 DGRAM 127.0.0.1 RAW
$ getent ahosts 127.0.0.1 127.0.0.1 STREAM 127.0.0.1 127.0.0.1 DGRAM 127.0.0.1 RAW