DNS.Message.Question (DNS v0.1.0)

View Source

DNS Question

Summary

Types

t()

@type t() :: %DNS.Message.Question{
  class: DNS.Class.t(),
  name: DNS.Message.Domain.t(),
  type: DNS.ResourceRecordType.t()
}

Functions

from_binary(buffer, message \\ <<>>)

list_from_message(message)

@spec list_from_message(binary()) :: {non_neg_integer(), list()}

list_from_message(message, qdcount)

@spec list_from_message(binary(), non_neg_integer()) :: {non_neg_integer(), list()}

list_to_binary(list)

@spec list_to_binary([t()]) :: binary()

new(name, type, class)