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:
authorRichard Lau <rlau@redhat.com>2021-10-21 00:57:11 +0300
committerNode.js GitHub Bot <github-bot@iojs.org>2021-10-23 01:26:30 +0300
commit816e92e6968fe6b48f16f12f53736ffa797682b1 (patch)
tree28855862150e370d3d8c94d6d428f3421f16bbb2 /doc/api/dns.md
parent4c81b34428914b9d80f4189835d124e420515844 (diff)
doc: update for changed `--dns-result-order` default
Update documentation to match the changed `--dns-result-order` default value in Node.js 17. Refs: https://github.com/nodejs/node/pull/39987 PR-URL: https://github.com/nodejs/node/pull/40538 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'doc/api/dns.md')
-rw-r--r--doc/api/dns.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/dns.md b/doc/api/dns.md
index 63d0fbba9ab..bcbdeb9bbb7 100644
--- a/doc/api/dns.md
+++ b/doc/api/dns.md
@@ -202,7 +202,7 @@ changes:
* `verbatim` {boolean} When `true`, the callback receives IPv4 and IPv6
addresses in the order the DNS resolver returned them. When `false`,
IPv4 addresses are placed before IPv6 addresses.
- **Default:** `true` (addresses are reordered). Default value is
+ **Default:** `true` (addresses are not reordered). Default value is
configurable using [`dns.setDefaultResultOrder()`][] or
[`--dns-result-order`][].
* `callback` {Function}