Skip to content

Commit 1f0a283

Browse files
tlhuntertargos
authored andcommitted
doc: note about DNS ANY queries / RFC 8482
PR-URL: #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>
1 parent 74c6f57 commit 1f0a283

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/api/dns.md

+5
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,10 @@ Here is an example of the `ret` object passed to the callback:
367367
minttl: 60 } ]
368368
```
369369

370+
DNS server operators may choose not to respond to `ANY`
371+
queries. It may be better to call individual methods like [`dns.resolve4()`][],
372+
[`dns.resolveMx()`][], and so on. For more details, see [RFC 8482][].
373+
370374
## dns.resolveCname(hostname, callback)
371375
<!-- YAML
372376
added: v0.3.2
@@ -1142,5 +1146,6 @@ uses. For instance, _they do not use the configuration from `/etc/hosts`_.
11421146
[`util.promisify()`]: util.html#util_util_promisify_original
11431147
[DNS error codes]: #dns_error_codes
11441148
[Implementation considerations section]: #dns_implementation_considerations
1149+
[RFC 8482]: https://tools.ietf.org/html/rfc8482
11451150
[rfc5952]: https://tools.ietf.org/html/rfc5952#section-6
11461151
[supported `getaddrinfo` flags]: #dns_supported_getaddrinfo_flags

0 commit comments

Comments
 (0)