Skip to content

Commit 064c8c5

Browse files
hkleungaiaduh95
authored andcommitted
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: #58899 Reviewed-By: Tim Perry <pimterry@gmail.com> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent e8fdd8d commit 064c8c5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/api/dns.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,7 @@ will be present on the object:
540540
| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
541541
| `'A'` | `address`/`ttl` |
542542
| `'AAAA'` | `address`/`ttl` |
543+
| `'CAA'` | Refer to [`dns.resolveCaa()`][] |
543544
| `'CNAME'` | `value` |
544545
| `'MX'` | Refer to [`dns.resolveMx()`][] |
545546
| `'NAPTR'` | Refer to [`dns.resolveNaptr()`][] |
@@ -1309,6 +1310,7 @@ present on the object:
13091310
| --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
13101311
| `'A'` | `address`/`ttl` |
13111312
| `'AAAA'` | `address`/`ttl` |
1313+
| `'CAA'` | Refer to [`dnsPromises.resolveCaa()`][] |
13121314
| `'CNAME'` | `value` |
13131315
| `'MX'` | Refer to [`dnsPromises.resolveMx()`][] |
13141316
| `'NAPTR'` | Refer to [`dnsPromises.resolveNaptr()`][] |

0 commit comments

Comments
 (0)