From 2473ca77f635a4d72cff334b8dcaa8cfa9a66e8d Mon Sep 17 00:00:00 2001 From: Jimmy Leung <43258070+hkleungai@users.noreply.github.com> Date: Thu, 23 Oct 2025 02:43:07 +0800 Subject: [PATCH] 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 Reviewed-By: Ethan Arrowood Reviewed-By: Luigi Pinca --- doc/api/dns.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/api/dns.md b/doc/api/dns.md index 61846f6f621..b2e350bfc6c 100644 --- a/doc/api/dns.md +++ b/doc/api/dns.md @@ -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()`][] |