diff --git a/doc/api/dns.md b/doc/api/dns.md index 22bca079c3bcf3..f019222a279db9 100644 --- a/doc/api/dns.md +++ b/doc/api/dns.md @@ -139,8 +139,9 @@ changes: --> * `hostname` {string} * `options` {integer | Object} - - `family` {integer} The record family. Must be `4` or `6`. IPv4 - and IPv6 addresses are both returned by default. + - `family` {integer} The record family. Must be `4`, `6`, or `0`. The value + `0` indicates that IPv4 and IPv6 addresses are both returned. **Default:** + `0`. - `hints` {number} One or more [supported `getaddrinfo` flags][]. Multiple flags may be passed by bitwise `OR`ing their values. - `all` {boolean} When `true`, the callback returns all resolved addresses in @@ -669,8 +670,9 @@ added: v10.6.0 --> * `hostname` {string} * `options` {integer | Object} - - `family` {integer} The record family. Must be `4` or `6`. IPv4 - and IPv6 addresses are both returned by default. + - `family` {integer} The record family. Must be `4`, `6`, or `0`. The value + `0` indicates that IPv4 and IPv6 addresses are both returned. **Default:** + `0`. - `hints` {number} One or more [supported `getaddrinfo` flags][]. Multiple flags may be passed by bitwise `OR`ing their values. - `all` {boolean} When `true`, the `Promise` is resolved with all addresses in