On Fri, Apr 10, 2020 at 4:55 AM Adam Feuer <a...@adamfeuer.com> wrote:
>
> Hi,
>
> In summarizing PRs for the release notes for 9.0, I came across some fairly
> large PRs (654 <https://github.com/apache/incubator-nuttx/pull/654>, 664
> <https://github.com/apache/incubator-nuttx/pull/664>) for DNS Dual Host
> support. These PRs had no description. I would like to provide a feature
> summary for the release notes.
>
> Can someone who knows what this feature is comment on this or summarize
> briefly?
>

The old behaviour is:
1.Query IPv4(A record) address if DNS server address is in IPv4 format
2.Query IPv6(AAAA record) address if DNS server address is in IPv6 format
so the getaddrinfo only return one type of IP address even the server
has both IPv4 and IPv6 address mapping to the same donmain name.

The new behaviour is: query both IPv4/IPv6 address regardless DNS
server IP address format, so getaddrinfo may return the mix(IPv4/IPv6)
address list.
Of course, the new behaviour happen only when we enable IPv4/IPv6 dual
stack on NuttX.

> cheers
> adam
> --
> Adam Feuer <a...@adamfeuer.com>

Reply via email to