coredns/plugin/bind
Miek Gieben 58221f55db
Manual pages (#1346)
* Add manual pages

Generate manual pages from the README and extend README with Name and
Description sections.

The generation requires 'ronn' which may not be available. Just check in
all generated manual pages.
2018-01-04 12:53:07 +00:00
..
bind.go Remove the word middleware (#1067) 2017-09-14 09:36:06 +01:00
bind_test.go Remove the word middleware (#1067) 2017-09-14 09:36:06 +01:00
README.md Manual pages (#1346) 2018-01-04 12:53:07 +00:00
setup.go Remove the word middleware (#1067) 2017-09-14 09:36:06 +01:00

bind

Name

bind - overrides the host to which the server should bind.

Description

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
}