diff options
author | Thomas Hunter II <tom@intrinsic.com> | 2019-03-15 15:01:30 -0700 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2019-03-18 01:37:47 +0200 |
commit | 3b6344ce42f35e83a580ef55a19c23becccdaa07 (patch) | |
tree | 1e654291697225bb0428a8ce7aca41b1fc0b9370 /doc/api/dns.md | |
parent | 8e308e8b2804344768037b5764328cf5cfdfaade (diff) | |
download | android-node-v8-3b6344ce42f35e83a580ef55a19c23becccdaa07.tar.gz android-node-v8-3b6344ce42f35e83a580ef55a19c23becccdaa07.tar.bz2 android-node-v8-3b6344ce42f35e83a580ef55a19c23becccdaa07.zip |
doc: note about DNS ANY queries / RFC 8482
PR-URL: https://github.com/nodejs/node/pull/26695
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Bryan English <bryan@bryanenglish.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'doc/api/dns.md')
-rw-r--r-- | doc/api/dns.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/api/dns.md b/doc/api/dns.md index ca4ca4bad5..ecbd85160e 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) <!-- YAML added: v0.3.2 @@ -1142,5 +1146,6 @@ uses. For instance, _they do not use the configuration from `/etc/hosts`_. [`util.promisify()`]: util.html#util_util_promisify_original [DNS error codes]: #dns_error_codes [Implementation considerations section]: #dns_implementation_considerations +[RFC 8482]: https://tools.ietf.org/html/rfc8482 [rfc5952]: https://tools.ietf.org/html/rfc5952#section-6 [supported `getaddrinfo` flags]: #dns_supported_getaddrinfo_flags |