Karta. Domains. DNSCheck
(Karta v1.0.0)
The last result of one DNS health check of a domain
(Karta.Domains.Health): one row per domain and check.
check- which check (Karta.Domains.Health.checks/0);status- the worst of its findings::pass(nothing to do),:warn(works, but needs attention),:fail(a problem receivers act on) or:missing(an optional record that is not published);nilwhile no run of the check has finished;findings- what the check found, each with a status, a sentence, what to do about it and the record to publish, if any;found- the records it found, as published;checked_at- when the check last finished;failure,failed_at- the last run that could not finish (a DNS lookup failed), when it is newer thanchecked_at. It changes nothing else: the result before it stays.
Summary
Functions
A finding: its status, the sentence that says what was found, and
optionally what to do (fix) and the record to publish
({type, name, value}).
The worst status of the findings: fail, then warn, then missing, then pass.
Types
@type status() :: :pass | :warn | :fail | :missing
Functions
@spec finding( status(), String.t(), String.t() | nil, {String.t(), String.t(), String.t()} | nil ) :: struct()
A finding: its status, the sentence that says what was found, and
optionally what to do (fix) and the record to publish
({type, name, value}).
The worst status of the findings: fail, then warn, then missing, then pass.