Silbling (In-bailiwick rule of RFC 8499) domain IP records not returned
In the case of delegation, when the name server's name is subordinate to the zone origin but not to the same owner name of the NS records, then the IP records are not returned. There is no rule mentioning that they have to be returned, but other implementations like PowerDNS, Knot, NSD return them, so I am curious why BIND made this choice. (I am sorry if it was already mentioned in other issues; I did not find info when I searched.)
BIND version used
BIND 9.17.8 (Development Release) id:8c6db04
Steps to reproduce
Consider the following zone file:
|campus.edu.||500 SOA||ns1.outside.edu. root.campus.edu. 3 86400 7200 604800 300|
For the query
<a.foo.campus.edu., A> the answer from the BIND server is:
"opcode QUERY", "rcode NOERROR", "flags QR", ";QUESTION", "a.foo.campus.edu. IN A", ";ANSWER", ";AUTHORITY", "foo.campus.edu. 500 IN NS bar.campus.edu. ", ";ADDITIONAL"
What is the current bug behavior?
As mentioned earlier, this is not a buggy behavior but a deviation from others where they return the
A record in the additional section.
What is the expected correct behavior?
The glue records for sibling domains can also be returned.