Skip to content

Commit 2f39eb6

Browse files
committed
Fix other mentions
1 parent aeea9d0 commit 2f39eb6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

doc/api/dns.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,8 @@ changes:
227227

228228
Resolves a host name (e.g. `'nodejs.org'`) into the first found A (IPv4) or
229229
AAAA (IPv6) record. All `option` properties are optional. If `options` is an
230-
integer, then it must be `4` or `6` – if `options` is `0` or not provided, then
231-
IPv4 and IPv6 addresses are both returned if found.
230+
integer, then it must be `4` or `6` – if `options` is not provided, then
231+
either IPv4 or IPv6 addresses, or both, are returned if found.
232232

233233
With the `all` option set to `true`, the arguments for `callback` change to
234234
`(err, addresses)`, with `addresses` being an array of objects with the
@@ -973,8 +973,8 @@ added: v10.6.0
973973

974974
Resolves a host name (e.g. `'nodejs.org'`) into the first found A (IPv4) or
975975
AAAA (IPv6) record. All `option` properties are optional. If `options` is an
976-
integer, then it must be `4` or `6` – if `options` is not provided, then IPv4
977-
and IPv6 addresses are both returned if found.
976+
integer, then it must be `4` or `6` – if `options` is not provided, then
977+
either IPv4 or IPv6 addresses, or both, are returned if found.
978978

979979
With the `all` option set to `true`, the `Promise` is resolved with `addresses`
980980
being an array of objects with the properties `address` and `family`.

0 commit comments

Comments
 (0)