Skip to content

dns: add `verbatim` option to dns.lookup()

When true, results from the DNS resolver are passed on as-is, without the reshuffling that Node.js otherwise does that puts IPv4 addresses before IPv6 addresses.

Refs: https://github.com/nodejs/node/issues/6307

Suggestions on how to test this properly welcome.

Merge request reports

Loading