Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
net: DNS client relies on CNAME order #34677
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.