0 Replies Latest reply: Jun 11, 2013 10:24 PM by user10382037 RSS

    getaddrinfo function returns IPv4-mapped IPv6 addresses in canonical name


      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.