Files
coredns/middleware/file
Miek Gieben 2adbdf34d9 Use qname/qtype for lookups
Drop the use of dns.RR when in fact the only thing we use is the name

and type of the RR. Cleans up a bunch of stuff and also stops the weird

making of dns.RRs just for a lookup. Should safe some memory as well.



Fixes: #66
2016-04-02 17:49:13 +01:00
..
2016-04-02 17:49:13 +01:00
2016-04-02 17:49:13 +01:00
2016-04-02 17:49:13 +01:00
2016-04-02 16:56:16 +01:00
2016-04-02 16:56:16 +01:00
2016-04-02 16:56:16 +01:00
2016-03-30 13:25:45 +00:00
2016-04-02 16:56:16 +01:00
2016-04-02 17:49:13 +01:00
2016-03-28 18:23:17 +01:00
2016-04-02 16:56:16 +01:00
2016-03-28 18:23:17 +01:00
2016-03-28 18:23:17 +01:00
2016-04-02 16:56:16 +01:00
2016-04-02 16:56:16 +01:00

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