Skip to content

Commit 1e6faf9

Browse files
tlhunterBethGriggs
authored andcommitted
doc: note about DNS ANY queries / RFC 8482
PR-URL: #26695 Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Bryan English <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent 3eab58f commit 1e6faf9

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
@@ -1138,5 +1142,6 @@ uses. For instance, _they do not use the configuration from `/etc/hosts`_.
11381142
[`util.promisify()`]: util.html#util_util_promisify_original
11391143
[DNS error codes]: #dns_error_codes
11401144
[Implementation considerations section]: #dns_implementation_considerations
1145+
[RFC 8482]: https://tools.ietf.org/html/rfc8482
11411146
[rfc5952]: https://tools.ietf.org/html/rfc5952#section-6
11421147
[supported `getaddrinfo` flags]: #dns_supported_getaddrinfo_flags

0 commit comments

Comments
 (0)