dns v2.1.2 DNS.Resource

TODO: docs

Link to this section Summary

Functions

Converts a :dns_rr record into a DNS.ResourceRecord

Converts a DNS.ResourceRecord struct to a :dns_rr record

Link to this section Types

Link to this type t()
t() :: %DNS.Resource{
  bm: term(),
  class: term(),
  cnt: term(),
  data: term(),
  domain: term(),
  func: term(),
  tm: term(),
  ttl: term(),
  type: term()
}

Link to this section Functions

Link to this function from_record(dns_rr)

Converts a :dns_rr record into a DNS.ResourceRecord.

Link to this function to_record(resource)

Converts a DNS.ResourceRecord struct to a :dns_rr record.