Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update dns.md
Co-authored-by: Luigi Pinca <[email protected]>
  • Loading branch information
duncanchiu409 and lpinca authored Jan 27, 2024
commit 6eeae0f3305028bb28705168bf4b2774d3ac1deb
6 changes: 2 additions & 4 deletions doc/api/dns.md
Original file line number Diff line number Diff line change
Expand Up @@ -954,10 +954,8 @@ 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 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
`0` indicates that either an IPv4 or IPv6 address is returned. If the
value `0` is used with `{ all: true }` (see below), both IPv4 and IPv6 addresses
are returned. **Default:** `0`.
* `hints` {number} One or more [supported `getaddrinfo` flags][]. Multiple
flags may be passed by bitwise `OR`ing their values.
Expand Down