mirror of
				https://github.com/coredns/coredns.git
				synced 2025-11-04 10:11:10 +01: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,
 | 
						|
	})
 | 
						|
}
 |