From 7cc760f5627714b244b601370a906fd982fc2a25 Mon Sep 17 00:00:00 2001 From: Thomas Hunter II Date: Fri, 15 Mar 2019 15:01:30 -0700 Subject: [PATCH] doc: note about DNS ANY queries / RFC 8482 PR-URL: https://github.com/nodejs/node/pull/26695 Reviewed-By: Gus Caplan Reviewed-By: Rich Trott Reviewed-By: Colin Ihrig Reviewed-By: Bryan English Reviewed-By: Ruben Bridgewater --- doc/api/dns.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/api/dns.md b/doc/api/dns.md index ca4ca4bad529a6..ecbd85160eb05b 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 } ] ``` +DNS server operators may 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)