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

View Source

EDNS0.Option.N3U RFC6975

NSEC3 Hash Understood (N3U) option is used to indicate which NSEC3 hash algorithms a resolver understands.

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 = 7 | OPTION-LENGTH | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | / ALGORITHM LIST / / / +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

  • ALGORITHM LIST: Variable length, list of NSEC3 hash algorithm codes

Summary

Types

t()

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

Functions

from_iodata(arg)

new(algorithm_list)

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