mirror of
https://github.com/coredns/coredns.git
synced 2026-07-12 10:40:10 -04:00
plugin/transfer: configure notify source address (#8192)
Signed-off-by: houyuwushang <liuluoqianqiu@outlook.com>
This commit is contained in:
@@ -22,6 +22,7 @@ use this plugin.
|
||||
~~~
|
||||
transfer [ZONE...] {
|
||||
to ADDRESS...
|
||||
source ADDRESS
|
||||
}
|
||||
~~~
|
||||
|
||||
@@ -35,6 +36,10 @@ transfer [ZONE...] {
|
||||
an IP address and port e.g. `1.2.3.4`, `12:34::56`, `1.2.3.4:5300`, `[12:34::56]:5300`.
|
||||
`to` may be specified multiple times.
|
||||
|
||||
* `source` **ADDRESS** is the local IP address to use when sending zone change
|
||||
notifications to the configured `to` addresses. It does not change which
|
||||
clients are allowed to request AXFR or IXFR transfers.
|
||||
|
||||
You can use the _acl_ plugin to further restrict hosts permitted to receive a zone transfer.
|
||||
See example below.
|
||||
|
||||
@@ -56,4 +61,15 @@ Use in conjunction with the _acl_ plugin to restrict access to subnet 10.1.0.0/1
|
||||
...
|
||||
```
|
||||
|
||||
Each plugin that can use _transfer_ includes an example of use in their respective documentation.
|
||||
Send NOTIFY messages from a specific local address.
|
||||
|
||||
```
|
||||
...
|
||||
transfer {
|
||||
to 2001:db8::1
|
||||
source 2001:db8::53
|
||||
}
|
||||
...
|
||||
```
|
||||
|
||||
Each plugin that can use _transfer_ includes an example of use in their respective documentation.
|
||||
|
||||
Reference in New Issue
Block a user