diff options
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 297cda2efcd..dc2f578fa05 100644 --- a/doc/api/dns.md +++ b/doc/api/dns.md @@ -1405,6 +1405,8 @@ Each DNS query can return one of the following error codes: * `dns.ADDRGETNETWORKPARAMS`: Could not find `GetNetworkParams` function. * `dns.CANCELLED`: DNS query cancelled. +The above error codes are also exported by the `dnsPromises` API, e.g., `dnsPromises.NODATA`. + ## Implementation considerations Although [`dns.lookup()`][] and the various `dns.resolve*()/dns.reverse()` |