diff options
author | Luan Devecchi <luan@engineer.com> | 2021-08-01 00:25:55 +0300 |
---|---|---|
committer | Node.js GitHub Bot <github-bot@iojs.org> | 2021-08-06 13:31:18 +0300 |
commit | 38d3c487e4ca3a3ca570562522ad2777aaa74b61 (patch) | |
tree | cb3d05120ecb235d8ce3d54647d8840d89867271 /doc/api/dns.md | |
parent | 4832d1c02c8caf3269c5e3f7bfe750f65885c34c (diff) |
dns: add "tries" option to Resolve options
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/dns.md b/doc/api/dns.md index 45b2ff79e37..56f1522dd2f 100644 --- a/doc/api/dns.md +++ b/doc/api/dns.md @@ -108,6 +108,8 @@ Create a new resolver. * `options` {Object} * `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. ### `resolver.cancel()` <!-- YAML |