diff --git a/doc/api/dns.md b/doc/api/dns.md index 624bcc279d2479..4ac7925ca84535 100644 --- a/doc/api/dns.md +++ b/doc/api/dns.md @@ -622,14 +622,6 @@ The following methods from the `dnsPromises` API are available: * [`resolver.resolveTxt()`][`dnsPromises.resolveTxt()`] * [`resolver.reverse()`][`dnsPromises.reverse()`] -#### resolver.cancel() - - -Cancel all outstanding DNS queries made by this resolver. The corresponding -`Promise`s will be rejected with an error with code `ECANCELLED`. - ### dnsPromises.getServers()