Skip to content

dns: default to verbatim=true in dns.lookup()

Rodrigo Muino Tomonari requested to merge github/fork/treysis/verbatim-true into master

Switch the default from false (reorder the result so that IPv4 addresses come before IPv6 addresses) to true (return them exactly as the resolver sent them to us.)

Fixes: https://github.com/nodejs/node/issues/31566 Refs: https://github.com/nodejs/node/issues/6307 Refs: https://github.com/nodejs/node/pull/20710

Reissue of https://github.com/nodejs/node/pull/31567

Merge request reports

Loading