Allow ANY queries for localhost only
feature request emailed to info@ from d.stussy@yahoo.com: re: version 9.15.4
RFC 8482 suggested deprecation of the "ANY" qtype for DNS queries (or minimal responses). Please do not remove the code that handles this.
HOWEVER, as "ANY" queries are used for testing and such, I do suggest the following additional configuration directive for "/etc/named.conf" (or equivalent): "allow-query-any[-v6] { };", where the default list is set to "localhost;" (or perhaps "localnets;"). This way, system administrators can still test their authoritative server(s) for "all" DNS records for a label without the general public having similar access and without having to loop though all record types. Any query not matching the give source(s) can still get a "refused" rcode, a minimal response, a special HINFO response, etc., as per other directives.
I realize that by using different views based on the source query address, various other configurations could simulate the above. However, I believe that the directive suggested is the most straightforward. I am surprised that this wasn't previously done in the 9.14/9.15 series (or earlier).