Unverified Commit fcae5e2d authored by Quentin Headen's avatar Quentin Headen Committed by Anna Henningsen
Browse files

doc: dns.resolve fix callback argument description

The dns.resolve documentation stated that an array of IP
addresses would be returned in the callback. This is true
for everything other than the SOA record which returns an object.
This fixes that documentation.

Fixes: https://github.com/nodejs/node/issues/6506
PR-URL: https://github.com/nodejs/node/pull/7532


Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
Reviewed-By: default avatarRoman Reiss <me@silverwind.io>
parent aab30667
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment