mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 02:03:20 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			240 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			240 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| // Package bind allows binding to a specific interface instead of bind to all of them.
 | |
| package bind
 | |
| 
 | |
| import "github.com/mholt/caddy"
 | |
| 
 | |
| func init() {
 | |
| 	caddy.RegisterPlugin("bind", caddy.Plugin{
 | |
| 		ServerType: "dns",
 | |
| 		Action:     setup,
 | |
| 	})
 | |
| }
 |