FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

doc: fix dnsPromises.lookup verbatim default by BIGSUS24 · Pull Request #64658 · nodejs/node · GitHub

/ node Public

doc: fix dnsPromises.lookup verbatim default - #64658

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
BIGSUS24:doc-dnspromises-lookup-verbatim-default
Jul 23, 2026
Merged

doc: fix dnsPromises.lookup verbatim default#64658
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
BIGSUS24:doc-dnspromises-lookup-verbatim-default

Conversation

Copy link
Copy Markdown
Contributor

The verbatim option for dnsPromises.lookup() documents its default as false (addresses reordered), but that's stale. The default flipped to true in v17 (#39987), same as the callback dns.lookup().

You can see it contradicts itself already: the order bullet right above says verbatim (addresses are not reordered) by default, and the dns.lookup() section documents the same verbatim option as true. Source confirms it too — both paths start from DNS_ORDER_VERBATIM (lib/dns.js, lib/internal/dns/promises.js), with the global default set to 'verbatim' in lib/internal/dns/utils.js.

This just updates the dnsPromises.lookup() bullet to match. Docs only.

The verbatim default flipped to true in v17 (nodejs#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>
Copilot AI review requested due to automatic review settings July 21, 2026 18:04

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/net

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

nodejs-github-bot added dns Issues and PRs related to the dns subsystem. doc Issues and PRs related to the documentations. labels Jul 21, 2026
pimterry added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Jul 22, 2026
Ethan-Arrowood added the fast-track PRs that do not need to wait for 48 hours to land. label Jul 23, 2026

Copy link
Copy Markdown
Contributor

Fast-track has been requested by @Ethan-Arrowood. Please 👍 to approve.

pimterry added the commit-queue Add this label to land a pull request using GitHub Actions. label Jul 23, 2026
nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Jul 23, 2026
nodejs-github-bot merged commit a609b17 into nodejs:main Jul 23, 2026
35 checks passed

Copy link
Copy Markdown
Collaborator

Landed in a609b17

aduh95 pushed a commit that referenced this pull request Jul 30, 2026
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: #64658
Reviewed-By: Tim Perry <pimterry@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
aduh95 pushed a commit that referenced this pull request Aug 6, 2026
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: #64658
Reviewed-By: Tim Perry <pimterry@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. dns Issues and PRs related to the dns subsystem. doc Issues and PRs related to the documentations. fast-track PRs that do not need to wait for 48 hours to land.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants


Back | FazBrowse Home | New Git URL