mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
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:
committed by
Node.js GitHub Bot
parent
38d3c487e4
commit
75a96b4ad8
@@ -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: v12.18.3
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user