Skip to content

Commit

Permalink
doc: note about dns ANY queries / RFC 8482
Browse files Browse the repository at this point in the history
  • Loading branch information
tlhunter committed Mar 16, 2019
1 parent 969c63a commit e3ad0b7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/api/dns.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
<!-- YAML
added: v0.3.2
Expand Down Expand Up @@ -1143,4 +1147,5 @@ uses. For instance, _they do not use the configuration from `/etc/hosts`_.
[DNS error codes]: #dns_error_codes
[Implementation considerations section]: #dns_implementation_considerations
[rfc5952]: https://tools.ietf.org/html/rfc5952#section-6
[RFC 8482]: https://tools.ietf.org/html/rfc8482
[supported `getaddrinfo` flags]: #dns_supported_getaddrinfo_flags

0 comments on commit e3ad0b7

Please sign in to comment.