Closed
Labels
dnsIssues and PRs related to the dns subsystem.Issues and PRs related to the dns subsystem.docIssues and PRs related to Node.js documentation.Issues and PRs related to Node.js documentation.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.
Description
The dns.resolve(hostname[, rrtype], callback) description says:
The callback function has arguments (err, addresses). When successful, addresses will be an array.
But it's not true for SOA record.
dns.resolve documentation:
https://nodejs.org/docs/latest-v6.x/api/dns.html#dns_dns_resolve_hostname_rrtype_callback
Metadata
Metadata
Assignees
Labels
dnsIssues and PRs related to the dns subsystem.Issues and PRs related to the dns subsystem.docIssues and PRs related to Node.js documentation.Issues and PRs related to Node.js documentation.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.
Activity
silverwind commentedon May 2, 2016
SOAreturns objects. Should be an easy doc addition.tarungarg546 commentedon Jun 27, 2016
Any update. What exactly needs to be done.
qheaden commentedon Jul 4, 2016
I would like to work on this one. Feel free to make me an assignee on this so others will know I am working on it. I will update the DNS module docs.
qheaden commentedon Jul 4, 2016
I see that the dns.resolveSoa() method documents the object correctly. Should that information be copied to the dns.resolve() documentation, or should it just point users to dns.resolveSoa() to explain the SOA record object?
silverwind commentedon Jul 4, 2016
No need to duplicate that information, just point (link) to it.
doc: dns.resolve fix callback argument description
doc: dns.resolve fix callback argument description