DNS.Message.Record.Data.NSEC3PARAM (DNS v0.4.1)

View Source

DNS NSEC3PARAM Record (Type 51)

The NSEC3PARAM record provides parameters needed by authoritative servers to calculate hashed owner names for NSEC3 records.

RFC 5155 defines the NSEC3PARAM record format:

  • Hash Algorithm: 1 octet
  • Flags: 1 octet
  • Iterations: 2 octets
  • Salt Length: 1 octet
  • Salt: variable length

Summary

Types

t()

@type t() :: %DNS.Message.Record.Data.NSEC3PARAM{
  data:
    {hash_algorithm :: 0..255, flags :: 0..255, iterations :: 0..65535,
     salt :: binary()},
  raw: bitstring(),
  rdlength: 0..65535,
  type: DNS.ResourceRecordType.t()
}

Functions

from_iodata(raw, message \\ nil)

@spec from_iodata(bitstring(), bitstring() | nil) :: t()

new(arg)

@spec new({integer(), integer(), integer(), binary()}) :: t()