BEP: | 34 |
---|---|
Title: | DNS Tracker Preferences |
Version: | 9c5c1dd1b372016e05af84fb34fccac6752ef54a |
Last-Modified: | Thu Jul 21 10:45:38 2016 -0400 |
Author: | Fredrik Neij <tiamo@tfr.org>, Arvid Norberg <arvid@bittorrent.com>, Chris Brown <cbrown@bittorrent.com> |
Status: | Draft |
Type: | Standards Track |
Created: | 26-July-2012 |
Post-History: |
Sometimes when users create torrents they mistakingly add website URLs as trackers. This results in those websites getting flooded with unwanted HTTP traffic.
To prevent this flooding, trackers and websites can declare via DNS TXT record which ports (if any) on which they are running trackers.
If a torrent contains a URL that according to this record does not have a tracker running on it, the client should attempt to fix the URL by trying connections on one or more of the ports in the TXT record.
This will also be helpful for example when a tracker switches from HTTP to UDP service, to prevent the tracker from being flooded with obsolete HTTP requests. This would direct the client to use UDP instead of HTTP in a old torrent where only the previous service are listed.
It's worth noting that this could potentially allow ISPs to prevent trackers from operating by injecting entries into DNS records.
The contents of the TXT records are case-sensitive and consist of one or more words separated by spaces.
Words
The trackers should be in order of preference with preferred trackers coming first.
Unrecognized words are silently ignored for the sake of future expansion and readability (as shown below).
Examples
This document has been placed in the public domain.