From 8f415bf5fcd7bc00f8fea0ff32733a273db1171f Mon Sep 17 00:00:00 2001 From: Shivam S <152616194+BIGSUS24@users.noreply.github.com> Date: Thu, 23 Jul 2026 14:05:34 +0530 Subject: [PATCH] doc: fix dnsPromises.lookup verbatim default The verbatim default flipped to true in v17 (#39987), but the dnsPromises.lookup docs still say false. The order bullet right above it and the dns.lookup section both already say the addresses are not reordered by default, so this bullet was contradicting them. Signed-off-by: BIGSUS24 <152616194+BIGSUS24@users.noreply.github.com> PR-URL: https://github.com/nodejs/node/pull/64658 Reviewed-By: Tim Perry Reviewed-By: Luigi Pinca Reviewed-By: Ethan Arrowood --- doc/api/dns.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/api/dns.md b/doc/api/dns.md index ac7dbfc16b6..be099b23cad 100644 --- a/doc/api/dns.md +++ b/doc/api/dns.md @@ -1113,8 +1113,7 @@ changes: IPv4 addresses are placed before IPv6 addresses. This option will be deprecated in favor of `order`. When both are specified, `order` has higher precedence. New code should only use `order`. - **Default:** currently `false` (addresses are reordered) but this is - expected to change in the not too distant future. Default value is + **Default:** `true` (addresses are not reordered). Default value is configurable using [`dns.setDefaultResultOrder()`][] or [`--dns-result-order`][].