dnsimple / erldns

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

Wildcard CNAME that points at a host covered by same wildcard breaks #31

Closed aeden closed 9 years ago

aeden commented 9 years ago

This is on the feature/dnssec branch.

Given a zone with:

*.example.com CNAME proxy.example.com
proxy.example.com A 1.2.3.4

And a query for foo.example.com, the response is being returned as

proxy.example.com CNAME proxy.example.com
proxy.example.com A 1.2.3.4

Whereas it should be:

foo.example.com CNAME proxy.example.com
proxy.example.com A 1.2.3.4
aeden commented 9 years ago

Fixed by https://github.com/aetrion/erl-dns/commit/a1b4993d7680c29f72ac315d3a9e1e802f94a2f1