Files
coredns/plugin/torrent
Miek Gieben 37e6038788 Play some more with torrenting
Signed-off-by: Miek Gieben <miek@miek.nl>
2020-07-27 15:55:31 +02:00
..
2020-07-27 15:55:31 +02:00
2020-07-27 15:55:31 +02:00
2020-07-27 15:55:31 +02:00
2020-07-27 15:55:31 +02:00
2020-07-27 15:55:31 +02:00
2020-07-27 15:55:31 +02:00
2020-07-27 15:55:31 +02:00

torrent

Name

torrent - use BitTorrent to disseminate zone data.

Description

The torrent plugin uses the BitTorrent protocol to disseminate zone data. Multiple peers can connect and down- and upload the data. A couple of nodes can be seed only meaning they will update the torrent when their zone data changes. Non-seed peers will write received data back into the zonefile - once the torrent is fully downloaded.

Syntax

The simplest syntax is for a peer wanting to receive the zone data:

torrent DBFILE
  • DBFILE the zone database file to torrent. If the path is relative, the path from the root plugin will be prepended to it.

For peers seeding the torrent use this, slightly expanded, syntax

torrent DBFILE {
    dht
//    directory (temp storage)
//    port for dth, etc.
}
  • dth starts a DTH server on address

Examples

example.org {
    file db.example.org
    torrent db.example.org
}

Also See

Bugs