mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 10:13:14 -04:00 
			
		
		
		
	* Doc: add package docs Add short package level docs to make godoc looks nicer. Add some badges to the README. * correct url
		
			
				
	
	
		
			12 lines
		
	
	
		
			244 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			244 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:     setupBind,
 | |
| 	})
 | |
| }
 |