TKEY record
TKEY (transaction key) is a record type of the Domain Name System. TKEY RRs can used in number of different modes to establish shared keys between a DNS resolver and server.
TKEY record format
Field | Description | Length (octets) |
---|---|---|
NAME | Key name, which must be unique on client and server | Variable |
TYPE | TKEY (249) | 2 |
CLASS | Ignored, should be ANY (255) | 2 |
TTL | Ignored, should be 0 | 4 |
RDLENGTH | Length of RDATA field | 2 |
RDATA | Variable-length structure containing the timestamp, algorithm, mode, hash data and error | Variable, as per RDLENGTH |
Mode field values
- 0 - Reserved
- 1 - Server assignment
- 2 - Diffie-Hellman exchange
- 3 - Generic Security Service Algorithm for Secret Key Transaction
- 4 - Resolver assignment
- 5 - key deletion
- 6–65534 - available
- 65535 - reserved;
gollark: Of course, it's possible that this is the wrong way to think about it, given that my brain is probably doing much more computation than a tablet powered by 5000 lemons thanks to a really optimized (for its specific task) architecture, and some hypothetical ultratech computer could probably do better.
gollark: I mean, it uses maybe 10W as far as I know (that's the right order of magnitude) so about as much as a tablet charger or 5000 lemons.
gollark: I *think* you'd only need 2500 lemons, wired in groups of 5.
gollark: It might actually be more reliable to host it on my spare Raspberry Pi 3B+ on terrible home interwebbernet uplinks powered by 2500 lemon batteries or something.
gollark: OH WAIT, RIGHT NOW.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.