diff --git a/doc/api/dns.md b/doc/api/dns.md index 7536c1eee20a6c..96df42c980fbe9 100644 --- a/doc/api/dns.md +++ b/doc/api/dns.md @@ -92,6 +92,22 @@ The following methods from the `dns` module are available: * [`resolver.reverse()`][`dns.reverse()`] * [`resolver.setServers()`][`dns.setServers()`] +### `Resolver([options])` + + +Create a new resolver. + +* `options` {Object} + * `timeout` {integer} Query timeout in milliseconds, or `-1` to use the + default timeout. + ### `resolver.cancel()`