DNS.Message.EDNS0.Option.KeyTag (DNS v0.4.1)

View Source

EDNS0.Option.KeyTag RFC8145

The edns-key-tag option is used to communicate DNSSEC key tags that a resolver trusts for a particular zone.

Option Format:

                  1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 3

0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | OPTION-CODE = 14 | OPTION-LENGTH | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | / KEY-TAG LIST / / / +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

  • KEY-TAG LIST: Variable length, list of DNSSEC key tags (2 octets each)

Summary

Types

t()

@type t() :: %DNS.Message.EDNS0.Option.KeyTag{
  code: DNS.Message.EDNS0.OptionCode.t(),
  data: [integer()],
  length: 0..65535
}

Functions

from_iodata(arg)

new(key_tag_list)

@spec new([integer()]) :: t()