Kantoor.DnsRecords.OwnedRecord (Kantoor v1.0.0)

One resource-record value Kantoor wrote into Salt, so that it can later remove exactly what it created and nothing else.

A value that was already in the zone when Kantoor first looked is not recorded: it belongs to whoever put it there, and stopping publication leaves it alone. The same applies to a value that another writer added beside ours.

value is Kantoor.DnsRecords.canonical/2 of the rdata, so Salt's quoted TXT and our unquoted content compare equal.

Summary

Types

t()

@type t() :: %Kantoor.DnsRecords.OwnedRecord{
  __meta__: term(),
  id: term(),
  inserted_at: term(),
  name: term(),
  publication: term(),
  publication_id: term(),
  ttl: term(),
  type: term(),
  updated_at: term(),
  value: term()
}