Files
coredns/middleware/file/file.md
Miek Gieben e56d206542 Support outgoing zone transfers
These can be enabled by adding "transfer out" to the Corefile. Without
it no AXFR is allowed.

For now only AXFR and no IXFR. No TSIG and no ACLs.
2016-03-28 18:23:17 +01:00

30 lines
677 B
Markdown

# file
`file` enabled reading zone data from a RFC-1035 styled file.
The etcd middleware makes extensive use of the proxy middleware to forward and query
other servers in the network.
## Syntax
~~~
file dbfile [zones...]
~~~
* `dbfile` the database file to read and parse.
* `zones` zones it should be authoritative for. If empty the zones from the configuration block
are used.
If you want to round robin A and AAAA responses look at the `loadbalance` middleware.
~~~
file dbfile [zones... ] {
transfer in|out
}
~~~
* `transfer` enable zone transfers, for now only `transfer out` does something. It enables outgoing
zone transfers when defined.
## Examples