Skip to content

Commit

Permalink
doc: add missing change to resolver ctor
Browse files Browse the repository at this point in the history
PR-URL: #39610
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
  • Loading branch information
oluan authored and danielleadams committed Aug 16, 2021
1 parent c7e918b commit 88c83a4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doc/api/dns.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit 88c83a4

Please sign in to comment.