DNS.Header (dns v2.2.0)

TODO: docs

Link to this section Summary

Functions

Converts a :dns_header record into a DNS.Header.

Converts a DNS.Header struct to a :dns_header record.

Link to this section Types

Specs

t() :: %DNS.Header{
  aa: term(),
  id: term(),
  opcode: term(),
  pr: term(),
  qr: term(),
  ra: term(),
  rcode: term(),
  rd: term(),
  tc: term()
}

Link to this section Functions

Link to this function

from_record(file_info)

Converts a :dns_header record into a DNS.Header.

Link to this function

to_record(header)

Converts a DNS.Header struct to a :dns_header record.