Skip to content

Commit 0894dae

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 58e3ef3 commit 0894dae

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
@@ -538,6 +538,7 @@ will be present on the object:
538538
| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
539539
| `'A'` | `address`/`ttl` |
540540
| `'AAAA'` | `address`/`ttl` |
541+
| `'CAA'` | Refer to [`dns.resolveCaa()`][] |
541542
| `'CNAME'` | `value` |
542543
| `'MX'` | Refer to [`dns.resolveMx()`][] |
543544
| `'NAPTR'` | Refer to [`dns.resolveNaptr()`][] |
@@ -1299,6 +1300,7 @@ present on the object:
12991300
| --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
13001301
| `'A'` | `address`/`ttl` |
13011302
| `'AAAA'` | `address`/`ttl` |
1303+
| `'CAA'` | Refer to [`dnsPromises.resolveCaa()`][] |
13021304
| `'CNAME'` | `value` |
13031305
| `'MX'` | Refer to [`dnsPromises.resolveMx()`][] |
13041306
| `'NAPTR'` | Refer to [`dnsPromises.resolveNaptr()`][] |

0 commit comments

Comments
 (0)