DNS.Header (dns v2.3.0) View Source

Struct definition for serializing and parsing DNS header.

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

Converts a :dns_header record into a DNS.Header.

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