doc: add missing CAA type to dns.resolveAny() & dnsPromises.resolveAny()

The AnyTraits::Parse() method in cares_wrap.cc will "Parse CAA records"
as the code comment suggests. The tables in doc should indicate this as
well.

PR-URL: https://github.com/nodejs/node/pull/58899
Reviewed-By: Tim Perry <pimterry@gmail.com>
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Jimmy Leung authored and Antoine du Hamel committed 2025-11-07 18:11:36 +01:00
1 parent 223c5e105d
commit 2473ca77f6
1 file changed
+2
+2
View File
@@ -540,6 +540,7 @@ will be present on the object:
| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| `'A'` | `address`/`ttl` |
| `'AAAA'` | `address`/`ttl` |
| `'CAA'` | Refer to [`dns.resolveCaa()`][] |
| `'CNAME'` | `value` |
| `'MX'` | Refer to [`dns.resolveMx()`][] |
| `'NAPTR'` | Refer to [`dns.resolveNaptr()`][] |
@@ -1309,6 +1310,7 @@ present on the object:
| --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `'A'` | `address`/`ttl` |
| `'AAAA'` | `address`/`ttl` |
| `'CAA'` | Refer to [`dnsPromises.resolveCaa()`][] |
| `'CNAME'` | `value` |
| `'MX'` | Refer to [`dnsPromises.resolveMx()`][] |
| `'NAPTR'` | Refer to [`dnsPromises.resolveNaptr()`][] |