@@ -210,8 +210,9 @@ changes:
210210 * ` family ` {integer|string} The record family. Must be ` 4 ` , ` 6 ` , or ` 0 ` . For
211211 backward compatibility reasons,` 'IPv4' ` and ` 'IPv6' ` are interpreted as ` 4 `
212212 and ` 6 ` respectively. The value ` 0 ` indicates that either an IPv4 or IPv6
213- address is returned. If the value ` 0 ` is used with ` { all: true } (see below) ` ,
214- both IPv4 and IPv6 addresses are returned. ** Default:** ` 0 ` .
213+ address is returned. If the value ` 0 ` is used with ` { all: true } ` (see below),
214+ either one of or both IPv4 and IPv6 addresses are returned, depending on the
215+ system's DNS resolver. ** Default:** ` 0 ` .
215216 * ` hints ` {number} One or more [ supported ` getaddrinfo ` flags] [ ] . Multiple
216217 flags may be passed by bitwise ` OR ` ing their values.
217218 * ` all ` {boolean} When ` true ` , the callback returns all resolved addresses in
@@ -988,8 +989,9 @@ changes:
988989* ` options ` {integer | Object}
989990 * ` family ` {integer} The record family. Must be ` 4 ` , ` 6 ` , or ` 0 ` . The value
990991 ` 0 ` indicates that either an IPv4 or IPv6 address is returned. If the
991- value ` 0 ` is used with ` { all: true } ` (see below), both IPv4 and IPv6
992- addresses are returned. ** Default:** ` 0 ` .
992+ value ` 0 ` is used with ` { all: true } ` (see below), either one of or both
993+ IPv4 and IPv6 addresses are returned, depending on the system's DNS
994+ resolver. ** Default:** ` 0 ` .
993995 * ` hints ` {number} One or more [ supported ` getaddrinfo ` flags] [ ] . Multiple
994996 flags may be passed by bitwise ` OR ` ing their values.
995997 * ` all ` {boolean} When ` true ` , the ` Promise ` is resolved with all addresses in
0 commit comments