silverwind · GitHub

The 'all' option allows to retrieve all addresses returned by
`getaddrinfo` using the system resolver. While `dns.resolve`
already does return multiple results, it's often preferable to
use the system resolver, like for mDNS.

@silverwind

@cjihrig cjihrig added the semver-minor

PRs that contain new features and should be released in the next minor version.

label

Feb 6, 2015

cjihrig pushed a commit that referenced this pull request

Feb 6, 2015
This commit adds the 'all' option to dns.lookup(), allowing
all lookup results to be returned.
Semver: Minor
Fixes: #736
PR-URL: #744
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>

Read the original on github.com ↗