Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2020-07-01 16:21:48 +0300
committerJames M Snell <jasnell@gmail.com>2020-07-03 22:03:37 +0300
commit907829b1a47f86dff9d81168fc1c867540638a4a (patch)
treebb920ed1f4ca545756442caa2444b7149f7683e7 /doc/api/dns.md
parent07bbadb2c7f4f7fca41d01839b122a6e2cbb16e2 (diff)
doc: simply dns.ADDRCONFIG language
PR-URL: https://github.com/nodejs/node/pull/34155 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/dns.md')
-rw-r--r--doc/api/dns.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/doc/api/dns.md b/doc/api/dns.md
index 5cd4046af39..20554fdc1d7 100644
--- a/doc/api/dns.md
+++ b/doc/api/dns.md
@@ -227,10 +227,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).