coredns/middleware/bind
Miek Gieben de0fa53379 Doc: add package docs (#296)
* Doc: add package docs

Add short package level docs to make godoc looks nicer.
Add some badges to the README.

* correct url
2016-09-25 08:39:20 +01:00
..
bind.go Doc: add package docs (#296) 2016-09-25 08:39:20 +01:00
bind_test.go Make CoreDNS a server type plugin for Caddy (#220) 2016-08-19 17:14:17 -07:00
README.md Make CoreDNS a server type plugin for Caddy (#220) 2016-08-19 17:14:17 -07:00
setup.go Startup notification (#250) 2016-09-10 09:16:25 +01: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