mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 18:23:13 -04:00 
			
		
		
		
	This middleware allows playing with responses. Only one type is implemented: it allows you to drop queries. I.e. withhold the response from the client.
		
			
				
	
	
		
			31 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
| // Package core registers the server and all plugins we support.
 | |
| package core
 | |
| 
 | |
| import (
 | |
| 	// plug in the server
 | |
| 	_ "github.com/miekg/coredns/core/dnsserver"
 | |
| 
 | |
| 	// plug in the standard directives (sorted)
 | |
| 	_ "github.com/miekg/coredns/middleware/auto"
 | |
| 	_ "github.com/miekg/coredns/middleware/bind"
 | |
| 	_ "github.com/miekg/coredns/middleware/cache"
 | |
| 	_ "github.com/miekg/coredns/middleware/chaos"
 | |
| 	_ "github.com/miekg/coredns/middleware/dnssec"
 | |
| 	_ "github.com/miekg/coredns/middleware/erratic"
 | |
| 	_ "github.com/miekg/coredns/middleware/errors"
 | |
| 	_ "github.com/miekg/coredns/middleware/etcd"
 | |
| 	_ "github.com/miekg/coredns/middleware/file"
 | |
| 	_ "github.com/miekg/coredns/middleware/health"
 | |
| 	_ "github.com/miekg/coredns/middleware/httpproxy"
 | |
| 	_ "github.com/miekg/coredns/middleware/kubernetes"
 | |
| 	_ "github.com/miekg/coredns/middleware/loadbalance"
 | |
| 	_ "github.com/miekg/coredns/middleware/log"
 | |
| 	_ "github.com/miekg/coredns/middleware/metrics"
 | |
| 	_ "github.com/miekg/coredns/middleware/pprof"
 | |
| 	_ "github.com/miekg/coredns/middleware/proxy"
 | |
| 	_ "github.com/miekg/coredns/middleware/rewrite"
 | |
| 	_ "github.com/miekg/coredns/middleware/root"
 | |
| 	_ "github.com/miekg/coredns/middleware/secondary"
 | |
| 	_ "github.com/miekg/coredns/middleware/whoami"
 | |
| )
 |