Mmark recently became able to create manual pages. This removed the dependency on 'ronn' and just uses mmark (Go program). Re-hookup Makefile.doc to generate the correct header mmark needs to see and regenate them all. Spot checking a few pages suggest they look good and actually better than rendered with ronn, esp. lists in lists. Fixes #2757 Signed-off-by: Miek Gieben <miek@miek.nl>
78 lines
1.2 KiB
Groff
78 lines
1.2 KiB
Groff
.\" Generated by Mmark Markdown Processer - mmark.nl
|
|
.TH "COREDNS-BIND" "7" "April 2019" "CoreDNS" "CoreDNS Plugins"
|
|
|
|
.SH BIND
|
|
.SH NAME
|
|
.PP
|
|
\fIbind\fP - overrides the host to which the server should bind.
|
|
|
|
.SH DESCRIPTION
|
|
.PP
|
|
Normally, the listener binds to the wildcard host. However, you may want the listener to bind to
|
|
another IP instead.
|
|
|
|
.PP
|
|
If several addresses are provided, a listener will be open on each of the IP provided.
|
|
|
|
.PP
|
|
Each address has to be an IP of one of the interfaces of the host.
|
|
|
|
.SH SYNTAX
|
|
.PP
|
|
.RS
|
|
|
|
.nf
|
|
bind ADDRESS ...
|
|
|
|
.fi
|
|
.RE
|
|
|
|
.PP
|
|
\fBADDRESS\fP is an IP address to bind to.
|
|
When several addresses are provided a listener will be opened on each of the addresses.
|
|
|
|
.SH EXAMPLES
|
|
.PP
|
|
To make your socket accessible only to that machine, bind to IP 127.0.0.1 (localhost):
|
|
|
|
.PP
|
|
.RS
|
|
|
|
.nf
|
|
\&. {
|
|
bind 127.0.0.1
|
|
}
|
|
|
|
.fi
|
|
.RE
|
|
|
|
.PP
|
|
To allow processing DNS requests only local host on both IPv4 and IPv6 stacks, use the syntax:
|
|
|
|
.PP
|
|
.RS
|
|
|
|
.nf
|
|
\&. {
|
|
bind 127.0.0.1 ::1
|
|
}
|
|
|
|
.fi
|
|
.RE
|
|
|
|
.PP
|
|
If the configuration comes up with several \fIbind\fP directives, all addresses are consolidated together:
|
|
The following sample is equivalent to the preceding:
|
|
|
|
.PP
|
|
.RS
|
|
|
|
.nf
|
|
\&. {
|
|
bind 127.0.0.1
|
|
bind ::1
|
|
}
|
|
|
|
.fi
|
|
.RE
|
|
|