Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: dns.lookup() documentation error code
dns.lookup() will always return ENOTFOUND on a empty lookup or when the host not found. https://github.com/nodejs/node/blob/master/lib/internal/errors.js#L503 Fixes: nodejs#27604 PR-URL: nodejs#27625 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
- Loading branch information