Kantoor. DnsRecords. Publication
(Kantoor v1.0.0)
One mail domain's Salt DNS publication: whether Kantoor keeps its client-DNS records there automatically, the zone it found, and the last check.
enabled is the operator's yes. It is set by "Publish to Salt" and cleared by
stopping publication; the nightly job only touches a domain whose publication
is enabled. The row exists from the first check, so a domain that has never
been published can still show what Salt would say.
last_report is the check snapshot (per record status, counts, zone, the
operator's write summary); last_status is its summary for the lists:
"ok", "attention", "not_hosted", "not_configured" or "error".
Summary
Types
@type t() :: %Kantoor.DnsRecords.Publication{ __meta__: term(), domain: term(), domain_id: term(), enabled: term(), id: term(), inserted_at: term(), last_checked_at: term(), last_error: term(), last_report: term(), last_status: term(), last_synced_at: term(), owned_records: term(), salt_zone: term(), updated_at: term() }