drop - can be used to drop specified DNS query types e.g. AAAA, returning 'NOTIMP' as rcode.
This plugins drop DNS requests of specific types
drop AAAA
If monitoring is enabled (via the prometheus directive) the following metric is exported:
coredns_drop_request_count_total{server}
- query count to the drop plugin.
The server
label indicated which server handled the request, see the metrics plugin for details.
This plugin reports readiness to the ready plugin. It will be immediately ready.
In this configuration, all queries for *.example.com will be dropped
example.com {
drop AAAA
}
See the manual.