Commit dbdbdd49 authored by Daniel Turing's avatar Daniel Turing Committed by Roman Reiss
Browse files

dns: add resolvePtr to query plain DNS PTR records

Resolving plain PTR records is used beyond reverse DNS, most
prominently with DNS-SD (RFC6763). This adds dns.resolvePtr(),
and uses it (instead of dns.reverse()) in dns.resolve().

PR-URL: https://github.com/nodejs/node/pull/4921


Reviewed-By: default avatarRoman Reiss <me@silverwind.io>
Reviewed-By: default avatarBrian White <mscdex@mscdex.net>
parent c4ab861a
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