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 2025-10-23 02:43:07 +08:00 committed by GitHub
parent f0679db554
commit 520d8277a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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()`][] |