I using MQX with IPv6, so enabled RTCSCFG_ENABLE_IP6
Now when I'm using get getaddrinfo() with an FQDN, getaddrinfo() always fails if my DNS Server does not reply AAAA queries...
- getaddrinfo() sends the 'A' record query to my DNS server, and collects the qualified answer. Everything is fine.
- next in line due to NET_ORDER is the INET6 family query
- getaddrinfo() then sends a subsequent 'AAAA' query, which is not fully responded by my DNS Server for this host.
- then getaddrinfo() returns error(4), which is odd because the 'A' record was replied fine.
I patched getaddrinfo.c accoringly, and want to know what you think about this.
Original Attachment has been moved to: getaddrinfo.c.patch.zip