File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -139,8 +139,9 @@ changes:
139
139
-->
140
140
* ` hostname ` {string}
141
141
* ` options ` {integer | Object}
142
- - ` family ` {integer} The record family. Must be ` 4 ` or ` 6 ` . IPv4
143
- and IPv6 addresses are both returned by default.
142
+ - ` family ` {integer} The record family. Must be ` 4 ` , ` 6 ` , or ` 0 ` . The value
143
+ ` 0 ` indicates that IPv4 and IPv6 addresses are both returned. ** Default:**
144
+ ` 0 ` .
144
145
- ` hints ` {number} One or more [ supported ` getaddrinfo ` flags] [ ] . Multiple
145
146
flags may be passed by bitwise ` OR ` ing their values.
146
147
- ` all ` {boolean} When ` true ` , the callback returns all resolved addresses in
@@ -669,8 +670,9 @@ added: v10.6.0
669
670
-->
670
671
* ` hostname ` {string}
671
672
* ` options ` {integer | Object}
672
- - ` family ` {integer} The record family. Must be ` 4 ` or ` 6 ` . IPv4
673
- and IPv6 addresses are both returned by default.
673
+ - ` family ` {integer} The record family. Must be ` 4 ` , ` 6 ` , or ` 0 ` . The value
674
+ ` 0 ` indicates that IPv4 and IPv6 addresses are both returned. ** Default:**
675
+ ` 0 ` .
674
676
- ` hints ` {number} One or more [ supported ` getaddrinfo ` flags] [ ] . Multiple
675
677
flags may be passed by bitwise ` OR ` ing their values.
676
678
- ` all ` {boolean} When ` true ` , the ` Promise ` is resolved with all addresses in
You can’t perform that action at this time.
0 commit comments