diff options
author | Luan Devecchi <luan@engineer.com> | 2021-08-01 05:58:14 +0300 |
---|---|---|
committer | Node.js GitHub Bot <github-bot@iojs.org> | 2021-08-06 13:31:19 +0300 |
commit | 75a96b4ad8a29da975b425b576c2efd73573af8b (patch) | |
tree | e4070b7e09f08eec6601ae1631fada83a4f9bb2d /doc/api/dns.md | |
parent | 38d3c487e4ca3a3ca570562522ad2777aaa74b61 (diff) |
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>
Diffstat (limited to 'doc/api/dns.md')
-rw-r--r-- | doc/api/dns.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/api/dns.md b/doc/api/dns.md index 56f1522dd2f..8a91b3f6bd8 100644 --- a/doc/api/dns.md +++ b/doc/api/dns.md @@ -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 |