Description of problem: If hints.ai_family is set to AF_UNSPEC or if hints is NULL only, no records with IPv6 (AF_INET6) are returned into the result Version-Release number of selected component (if applicable): glibc-2.7-2 How reproducible: query simply via getaddrinfo, with above settings for host with IPc6 addresses Steps to Reproduce: 1. 2. 3. Actual results: Expected results: getaddrinfo() shall first look for AAAA records and then for A records. Additional info:
*** Bug 436289 has been marked as a duplicate of this bug. ***
The file /etc/nsswitch was not OK, it contained only file for the network: entry. For programs as firefox, ftp, ssh, ... all worked fine as well for external as for internal addresses, After inserting of dns after file, all seen to work