diff options
Diffstat (limited to 'doc/api/dns.md')
-rw-r--r-- | doc/api/dns.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/dns.md b/doc/api/dns.md index 030bb7674b0..f6b8dbd3c0e 100644 --- a/doc/api/dns.md +++ b/doc/api/dns.md @@ -611,7 +611,7 @@ earlier ones time out or result in some other error. The `dns.promises` API provides an alternative set of asynchronous DNS methods that return `Promise` objects rather than using callbacks. The API is accessible -via `require('dns').promises`. +via `require('dns').promises` or `require('dns/promises')`. ### Class: `dnsPromises.Resolver` <!-- YAML |