- It could also, possibly, be argued that this phrasing means that CNAME chaining is disallowed for the purposes of identifying an Authorization Domain Name.
- The RDATA of the CNAME query must, by definition, return an FQDN, but nothing here seems to imply that it's acceptable to then perform a second DNS query for that returned FQDN, following the theoretical alias set in that CNAME record to a secondary returned FQDN.
If the data at the node is a CNAME, and QTYPE doesn't
match CNAME, copy the CNAME RR into the answer section
of the response, change QNAME to the canonical name in
the CNAME RR, and go back to step 1.
Otherwise, copy all RRs which match QTYPE into the
answer section and go to step 6.
My understanding of the protocol is that the correct answer is 1 because CAA is supposed to be a method for the domain owner applying for a certificate, to indicate their CA(s) of preference. Perhaps people have different views?
Thank you,
Dimitris.
Here's the current language in the Authorization Domain Name definition:
> The CA may use the FQDN returned from a DNS CNAME lookup as the FQDN for the purposes of domain validation.
To me, that's pretty clear: www.walmart.com.ultradns-wal.co can be an ADN for www.walmart.com. But www.walmart.com.edgekey.net cannot, and neither can e4373.x.akamaiedge.net.
--
You received this message because you are subscribed to the Google Groups "Validation Subcommittee (CA/B Forum)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to validation+...@groups.cabforum.org.
To view this discussion visit https://groups.google.com/a/groups.cabforum.org/d/msgid/validation/CAN3x4QncbaPBeh7rNpGFiK6ckAzN7Vb%3DTARbBAvOrjBnSBjVKw%40mail.gmail.com.
Given this setup:
$ dig A www.walmart.com @1.1.1.1
...
;; ANSWER SECTION:
www.walmart.com. 274 IN CNAME www.walmart.com.ultradns-wal.co.
www.walmart.com.ultradns-wal.co. 34 IN CNAME www.walmart.com.edgekey.net.
www.walmart.com.edgekey.net. 21574 IN CNAME e4373.x.akamaiedge.net.
e4373.x.akamaiedge.net. 11 IN A 23.75.208.191
Then the CAA records that matter are:- Any CAA records at e4373.x.akamaiedge.net (because a CNAME record cannot coexist with any other records, so we're guaranteed that there are not any CAA records at www.walmart.com or any of the intermediate hops)
- Any CAA records at walmart.com (or where its CNAME chain ends), if the point above did not return any CAA records- Any CAA records at com (or where its CNAME chain ends), if the two points above did not return any CAA records
To view this discussion visit https://groups.google.com/a/groups.cabforum.org/d/msgid/validation/6db4442d-5aad-4147-99b4-a02aa017cd2e%40harica.gr.
This is simply how DNS works. If you query for the CAA records for www.walmart.com, and that name is CNAMEd elsewhere, the recursive resolver will return the CAA records found wherever the chain of CNAME delegations terminates.
The old version of CAA (https://datatracker.ietf.org/doc/html/rfc6844) said that you had to follow CNAMEs, and do tree-climbing from those CNAMEs. This was a bad idea, because it doesn't actually match the semantics of DNS. The updated version of CAA (https://datatracker.ietf.org/doc/html/rfc8659) clarifies that yes, you must follow CNAMEs (because that's simply how DNS works), but that you don't tree-climb from them.