coredns/middleware/bind
Yong Tang 81af74aad0 Fix import path github.com/miekg/coredns -> github.com/coredns/coredns (#547)
This fix fixes import path from
`github.com/miekg/coredns`
->
`github.com/coredns/coredns`
2017-02-22 06:51:47 +00:00
..
bind.go Doc: add package docs (#296) 2016-09-25 08:39:20 +01:00
bind_test.go Fix import path github.com/miekg/coredns -> github.com/coredns/coredns (#547) 2017-02-22 06:51:47 +00:00
README.md docs: rewrite using manpage style (#327) 2016-10-10 20:13:22 +01:00
setup.go Fix import path github.com/miekg/coredns -> github.com/coredns/coredns (#547) 2017-02-22 06:51:47 +00:00

bind

bind overrides the host to which the server should bind. Normally, the listener binds to the wildcard host. However, you may force the listener to bind to another IP instead. This directive accepts only an address, not a port.

Syntax

bind ADDRESS

ADDRESS is the IP address to bind to.

Examples

To make your socket accessible only to that machine, bind to IP 127.0.0.1 (localhost):

bind 127.0.0.1