DNS.ResourceOpt (dns v2.4.0) View Source

Struct definition for serializing and parsing RFC2671/6891's OPT RR records.

The corresponding record in :inet_dns is :dns_rr_opt.

Link to this section Summary

Functions

Converts a :dns_rr_opt record into a DNS.ResourceOpt.

Converts a DNS.ResourceOpt struct to a :dns_rr_opt record.

Link to this section Types

Specs

t() :: %DNS.ResourceOpt{
  data: term(),
  domain: term(),
  ext_rcode: term(),
  type: term(),
  udp_payload_size: term(),
  version: term(),
  z: term()
}

Link to this section Functions

Converts a :dns_rr_opt record into a DNS.ResourceOpt.

Converts a DNS.ResourceOpt struct to a :dns_rr_opt record.