Skip to content

Commit defb77c

Browse files
oluantargos
authored andcommitted
doc: add missing change to resolver ctor
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>
1 parent d8d9a96 commit defb77c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

doc/api/dns.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ The following methods from the `dns` module are available:
9797
<!-- YAML
9898
added: v8.3.0
9999
changes:
100+
- version: REPLACEME
101+
pr-url: https://github.com/nodejs/node/pull/39610
102+
description: The `options` object now accepts a `tries` option.
100103
- version: v14.5.0
101104
pr-url: https://github.com/nodejs/node/pull/33472
102105
description: The constructor now accepts an `options` object.
@@ -109,7 +112,7 @@ Create a new resolver.
109112
* `timeout` {integer} Query timeout in milliseconds, or `-1` to use the
110113
default timeout.
111114
* `tries` {integer} The number of tries the resolver will try contacting
112-
each name server before giving up, `4` by default.
115+
each name server before giving up. **Default:** `4`
113116

114117
### `resolver.cancel()`
115118
<!-- YAML

0 commit comments

Comments
 (0)