doc: add missing change to resolver ctor

PR-URL: https://github.com/nodejs/node/pull/39610
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
This commit is contained in:
Luan Devecchi authored and Michaël Zasso committed 2021-09-04 09:56:15 +02:00
1 parent d8d9a9628a
commit defb77cac9
1 file changed
+4 -1
+4 -1
View File
@@ -97,6 +97,9 @@ The following methods from the `dns` module are available:
<!-- YAML
added: v8.3.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/39610
description: The `options` object now accepts a `tries` option.
- version: v14.5.0
pr-url: https://github.com/nodejs/node/pull/33472
description: The constructor now accepts an `options` object.
@@ -109,7 +112,7 @@ Create a new resolver.
* `timeout` {integer} Query timeout in milliseconds, or `-1` to use the
default timeout.
* `tries` {integer} The number of tries the resolver will try contacting
each name server before giving up, `4` by default.
each name server before giving up. **Default:** `4`
### `resolver.cancel()`
<!-- YAML