From e3ad0b765f25fd853646856a743c1c5b3b426a12 Mon Sep 17 00:00:00 2001 From: Thomas Hunter II Date: Fri, 15 Mar 2019 15:01:30 -0700 Subject: [PATCH 1/2] doc: note about dns ANY queries / RFC 8482 --- doc/api/dns.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/api/dns.md b/doc/api/dns.md index ca4ca4bad529a6..7e45ffdbbc94d1 100644 --- a/doc/api/dns.md +++ b/doc/api/dns.md @@ -367,6 +367,10 @@ Here is an example of the `ret` object passed to the callback: minttl: 60 } ] ``` +Note that the operator of a DNS server might choose not to respond to `ANY` +queries. It may be better to call individual methods like [`dns.resolve4()`][], +[`dns.resolveMx()`][], and so on. For more details, see [RFC 8482][]. + ## dns.resolveCname(hostname, callback)