@@ -241,8 +241,8 @@ changes:
241241
242242Resolves a host name (e.g. ` 'nodejs.org' ` ) into the first found A (IPv4) or
243243AAAA (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
247247With 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
10161016Resolves a host name (e.g. ` 'nodejs.org' ` ) into the first found A (IPv4) or
10171017AAAA (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
10211021With the ` all ` option set to ` true ` , the ` Promise ` is resolved with ` addresses `
10221022being an array of objects with the properties ` address ` and ` family ` .
0 commit comments