Red Hat Bugzilla – Bug 436290
getaddrinfo return only IPv4 Address
Last modified: 2008-03-11 05:11:32 EDT
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):
query simply via getaddrinfo, with above settings for host with IPc6 addresses
Steps to Reproduce:
getaddrinfo() shall first look for AAAA records and then for A records.
*** 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
After inserting of dns after file, all seen to work