Skip to content

Commit b1464a3

Browse files
domdomeggaduh95
authored andcommitted
Fix other mentions
1 parent 952ae65 commit b1464a3

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
@@ -241,8 +241,8 @@ changes:
241241

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

247247
With the `all` option set to `true`, the arguments for `callback` change to
248248
`(err, addresses)`, with `addresses` being an array of objects with the
@@ -1015,8 +1015,8 @@ changes:
10151015

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

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

0 commit comments

Comments
 (0)