plugin/transfer: configure notify source address (#8192)

Signed-off-by: houyuwushang <liuluoqianqiu@outlook.com>
This commit is contained in:
houyuwushang
2026-06-29 12:15:16 +08:00
committed by GitHub
parent 45a20ddcf1
commit 02f28345d1
6 changed files with 104 additions and 6 deletions

View File

@@ -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.