Currently CoreDNS supports (among others) the followingmiddlewares:
chaos: respond to CH class queries,dnssec: on-the-fly DNSSEC signing of records,etcd: SkyDNS replacement,file: serve DNS from a set of files,health: simple health check,kubernetes: use CoreDNS as a KubeDNS replacement,loadbalance: shuffle A and AAAA records,metrics:Prometheus metrics,pprof: Go profiling,proxy: forward queries to an upstream (recursive) server,rewrite: rewrite incoming queries,secondary: be a secondary nameserver and retrieve zones from a primary.