dnsimple / erldns

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

Properly handle zonecuts #89

Closed coreyhaines closed 5 years ago

coreyhaines commented 5 years ago

When responding to a question for a record under a zonecut, we should only return an authority section that points to the authoritative servers.

There are two primary behaviors implemented:

This behavior is tested in dnstest.

This PR implements a solution that is not optimized, but does implement the desired behaviour. Expectation is that a new PR will be created to handle optimization.