DNS.Message.Question (DNS v0.4.1)

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_iodata(buffer, message \\ <<>>)

@spec from_iodata(<<_::_*8>>, <<_::_*8>>) :: t()

list_from_message(message)

@spec list_from_message(<<_::64, _::_*8>>) :: {[t()], non_neg_integer()}

list_from_message(message, qdcount)

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

list_to_iodata(list)

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

new(name, type, class)