0 Replies Latest reply on Jun 12, 2013 3:24 AM by user10382037

    getaddrinfo function returns IPv4-mapped IPv6 addresses in canonical name

    user10382037

      When I use the getaddrinfo function with flag AI_CANONNAME, then in ai_canonname  IPv4-mapped IPv6 addresses is returned even for IPV6 disabled machine.

       

      So my question is that from where this canonical name is returned, I didn't found in /etc/nodename /etc/hosts or in /etc/inet/hosts or in /etc/interfacefile files.