each / draft-aname

work on a draft to standardize ANAME/ALIAS records to allow CNAME-like records at the zone apex
7 stars 4 forks source link

ANAME precedence #58

Closed matje closed 5 years ago

matje commented 5 years ago

Should an A or AAAA record next to the ANAME should take precedence or not.

  1. ANAME takes precedence, target lookup replace sibling A/AAAA records.
  2. sibling address records take precedence, don't do a target lookup for an address type next to the ANAME.

When ANAME takes precedence, the logic will always update the address records, with the intent to improve the answer. When the sibling address records take precedence, it has the property that you can set up ANAME for only one address type, for example ANAME for A but not for AAAA.

Other options could be: Don't spend any words on this, don't enforce a priority order, adapt ANAME in such a way that it has the "set up for one address type" property.

gibson042 commented 5 years ago

I strongly believe that ANAME processing should be understood as sibling override, regardless of whether the software performing it is a source-of-truth authoritative server, a downstream authoritative server, or a resolver—each hop closer to the query originator is an opportunity to provide an answer that is better for them. Letting sibling records take precedence over ANAME would be an uncomfortable inversion that muddies the water about when software that understands ANAME is permitted to leverage that understanding.

aeden commented 5 years ago

Our current implementation always performs the ANAME resolution even with sibling A or AAAA records. I am against sibling A/AAAA records taking precedence over ANAME in the specification.

matje commented 5 years ago

I only heard voices for ANAME taking precedence over A and AAAA. The draft is already in good shape for that. I have reworded the substitution process slightly in #60 and once that gets merged, this issue can be closed.