aboutsummaryrefslogtreecommitdiff
path: root/core/setup/bindhost.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/setup/bindhost.go')
-rw-r--r--core/setup/bindhost.go13
1 files changed, 0 insertions, 13 deletions
diff --git a/core/setup/bindhost.go b/core/setup/bindhost.go
deleted file mode 100644
index a3c07e5eb..000000000
--- a/core/setup/bindhost.go
+++ /dev/null
@@ -1,13 +0,0 @@
-package setup
-
-import "github.com/miekg/coredns/middleware"
-
-// BindHost sets the host to bind the listener to.
-func BindHost(c *Controller) (middleware.Middleware, error) {
- for c.Next() {
- if !c.Args(&c.BindHost) {
- return nil, c.ArgErr()
- }
- }
- return nil, nil
-}