From 22c1fbf4cbd4ba5f1a1f66d30660101e901c0712 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Wed, 1 Jul 2020 06:21:48 -0700 Subject: [PATCH] doc: simply dns.ADDRCONFIG language PR-URL: https://github.com/nodejs/node/pull/34155 Reviewed-By: Anna Henningsen Reviewed-By: James M Snell --- doc/api/dns.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/api/dns.md b/doc/api/dns.md index 4f5133fea563c2..17edcadebf6996 100644 --- a/doc/api/dns.md +++ b/doc/api/dns.md @@ -225,10 +225,9 @@ changes: The following flags can be passed as hints to [`dns.lookup()`][]. -* `dns.ADDRCONFIG`: Returned address types are determined by the types -of addresses supported by the current system. For example, IPv4 addresses -are only returned if the current system has at least one IPv4 address -configured. Loopback addresses are not considered. +* `dns.ADDRCONFIG`: Limits returned address types to the types of non-loopback +addresses configured on the system. For example, IPv4 addresses are only +returned if the current system has at least one IPv4 address configured. * `dns.V4MAPPED`: If the IPv6 family was specified, but no IPv6 addresses were found, then return IPv4 mapped IPv6 addresses. It is not supported on some operating systems (e.g FreeBSD 10.1).