Let's say I have a zone example.com
in route53 which contains this record:
foo.sub.example.com A 1.2.3.4
in that same example.com
zone, I also have a delegation and thus NS records for the sub.example.com
subzone. The sub.example.com
zone does NOT contain a foo.sub.example.com
A record; the parent does.
Now, I've noticed that, with this setup, requests for foo.sub.example.com A
fail because (seen with dig +trace
) the resolution process ends up searching the subzone, instead of stopping at the parent zone where the record does exist.
From my research, I couldn't find a reference, RFC or standard that mandates this behavior, yet that's how it seems to be working.
So the question is: is the above behavior expected/standard or just a route53 thing, and if the former, where is it documented?