mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 02:03:20 -04:00 
			
		
		
		
	plugin register (#3321)
These plugins where missed in #3287 because their setup is done in a file other than setup.go Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
		| @@ -1,11 +1,6 @@ | ||||
| // Package bind allows binding to a specific interface instead of bind to all of them. | ||||
| package bind | ||||
|  | ||||
| import "github.com/caddyserver/caddy" | ||||
| import "github.com/coredns/coredns/plugin" | ||||
|  | ||||
| func init() { | ||||
| 	caddy.RegisterPlugin("bind", caddy.Plugin{ | ||||
| 		ServerType: "dns", | ||||
| 		Action:     setup, | ||||
| 	}) | ||||
| } | ||||
| func init() { plugin.Register("bind", setup) } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user