Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: fix dns.lookup and dnsPromises.lookup description #51517

Merged
merged 10 commits into from
Jan 30, 2024
Prev Previous commit
Next Next commit
Update doc/api/dns.md
Co-authored-by: Paolo Insogna <paolo@cowtech.it>
  • Loading branch information
duncanchiu409 and ShogunPanda authored Jan 27, 2024
commit 78af021b8f196c0f59263157ee6c461aadca2642
2 changes: 1 addition & 1 deletion doc/api/dns.md
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@ added: v10.6.0
* `hostname` {string}
* `options` {integer | Object}
* `family` {integer} The record family. Must be `4`, `6`, or `0`. The value
`0` indicates that either a IPv4 or IPv6 address is returned. If
`0` indicates that either an IPv4 or IPv6 address is returned. If
value `0` used with `{ all: true }` (see below), both IPv4 and IPv6 addresses
are returned. **Default:** `0`.
value `0` used with `{ all: true }`, both IPv4 and IPv6 addresses
Expand Down