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 doc/api/dns.md
Co-authored-by: Paolo Insogna <paolo@cowtech.it>
  • Loading branch information
duncanchiu409 and ShogunPanda authored Jan 26, 2024
commit fa948173b44adc006021d50303bacbb7700aa4d6
2 changes: 1 addition & 1 deletion doc/api/dns.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ changes:
* `options` {integer | Object}
* `family` {integer|string} The record family. Must be `4`, `6`, or `0`. For
backward compatibility reasons,`'IPv4'` and `'IPv6'` are interpreted as `4`
and `6` respectively. The value `0` indicates that either IPv4 or IPv6
and `6` respectively. The value `0` indicates that either a IPv4 or IPv6
Comment thread
duncanchiu409 marked this conversation as resolved.
Resolved
address is returned. Noted if value `0` is used with `{ all: true }`,
Comment thread
duncanchiu409 marked this conversation as resolved.
Resolved
both IPv4 and IPv6 addresses are returned. **Default:** `0`.
* `hints` {number} One or more [supported `getaddrinfo` flags][]. Multiple
Expand Down