From f9273a0a31d7ac6ad311ce9ff3bd7a80c68c4bef Mon Sep 17 00:00:00 2001 From: duncanchiu409 Date: Tue, 16 Jan 2024 17:49:11 +1030 Subject: [PATCH] doc: update family = 0 in dns.md --- doc/api/dns.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/dns.md b/doc/api/dns.md index 1a460598bcd5fb..e7589cd359460a 100644 --- a/doc/api/dns.md +++ b/doc/api/dns.md @@ -204,8 +204,8 @@ changes: * `options` {integer | Object} * `family` {integer|string} The record family. Must be `4`, `6`, or `0`. For backward compatibility reasons,`'IPv4'` and `'IPv6'` are interpreted as `4` - and `6` respectively. The value `0` indicates that IPv4 and IPv6 addresses - are both returned. **Default:** `0`. + and `6` respectively. The value `0` indicates that either IPv4 or IPv6 address + is 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