resolver.3: RES_USE_INET6 is deprecated since glibc 2.25

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-01-14 07:57:34 +13:00
parent 414c75f0dd
commit b557e5650b
1 changed files with 6 additions and 0 deletions

View File

@ -331,6 +331,12 @@ Try an AAAA query before an A query inside the
.BR gethostbyname (3)
function, and map IPv4 responses in IPv6 "tunneled form" if no AAAA records
are found but an A record set exists.
Since glibc 2.25, this option is deprecated,
and its usage produces a warning;
applications should use
.BR getaddrinfo (3),
rather than
.BR gethostbyname (3).
.TP
.B RES_ROTATE
Causes round-robin selection of name servers from among those listed.