dnsimple / erldns

DNS server, in Erlang.
MIT License
398 stars 98 forks source link

CNAME records should appear before A/AAAA records. #92

Closed urbanserj closed 4 years ago

urbanserj commented 5 years ago

DC/OS JIRA: https://jira.mesosphere.com/browse/DCOS_OSS-5108 DC/OS PR: https://github.com/dcos/erldns/pull/5

RFC 1034 section 3.6 says that the order should be irrelevant, but some dns clients (e.g. glibc) expect to see CNAME records before A/AAAA records.

For more details please see a discussion about this issue in skydns: https://github.com/skynetservices/skydns/issues/217

The order of CNAME records in answer does also matter.

aeden commented 4 years ago

Thanks for the PR along with the history.