mirror of
https://github.com/coredns/coredns.git
synced 2025-11-01 18:53:43 -04:00
auto make -f Makefile.doc
This commit is contained in:
@@ -75,3 +75,28 @@ The following sample is equivalent to the preceding:
|
||||
.fi
|
||||
.RE
|
||||
|
||||
.SH "BUGS"
|
||||
.PP
|
||||
When defining more than one server block, take care not to bind more than one server to the same
|
||||
address and port. Doing so will result in unpredictable behavior (requests may be randomly
|
||||
served by either server). Keep in mind that \fIwithout\fP the \fIbind\fP plugin, a server will bind to all
|
||||
interfaces, and this will collide with another server if it's using \fIbind\fP to listen to an interface
|
||||
on the same port. For example, the following creates two servers that both listen on 127.0.0.1:53,
|
||||
which would result in unpredictable behavior for queries in \fB\fCa.bad.example.com\fR:
|
||||
|
||||
.PP
|
||||
.RS
|
||||
|
||||
.nf
|
||||
a.bad.example.com {
|
||||
bind 127.0.0.1
|
||||
forward . 1.2.3.4
|
||||
}
|
||||
|
||||
bad.example.com {
|
||||
forward . 5.6.7.8
|
||||
}
|
||||
|
||||
.fi
|
||||
.RE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user