@@ -227,8 +227,8 @@ changes:
227227
228228Resolves a host name (e.g. ` 'nodejs.org' ` ) into the first found A (IPv4) or
229229AAAA (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
233233With 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
974974Resolves a host name (e.g. ` 'nodejs.org' ` ) into the first found A (IPv4) or
975975AAAA (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
979979With the ` all ` option set to ` true ` , the ` Promise ` is resolved with ` addresses `
980980being an array of objects with the properties ` address ` and ` family ` .
0 commit comments