net: DNS client relies on CNAME order #34677
Closed
Labels
Milestone
Comments
That code is grabbing the A/AAAA RRset owner name as a way to short circuit having to walk any CNAME chain. The logic is explained on lines 631–644. |
You're right. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
According to RFC 1034, section 3.6:
The current DNS client is relying on the RR order in order to determine the CNAME (source). I think this works because most DNS servers do serve CNAMES in a significant order.
/cc @mdempsky
The text was updated successfully, but these errors were encountered: