Skip to content
Twentyfirst UIHalo

Domain Header

Data · DomainHeader, DnsRecordTable

View as Markdown

The top of a domain's page, above its DnsRecordTable: the name, registrar and DNS host, the expiry (days left worked out from expires; under 30 days warns, under 7 is danger, autoRenew noted), the SSL state with issuer and end date, and the mail lights MX, SPF, DKIM and DMARC. onOpenCheck(check) makes each cell a button that opens what was found; actions go on the right. DomainList rows link with href / linkAs.

northwind.example

Registrar: Registrar GmbHDNS: DNS host

Mail
ContentTTLProxy
A@203.0.113.7AutoProxied
MX@10 mx1.mail.example3600—
TXT@v=spf1 include:_spf.mail.example ~all3600—

Props

DomainHeader

PropTypeNotes
namestringRequired
registrar?ReactNode
dns?ReactNode
expires?Date | string | numberExpiry date (formatted in the provider's locale).
days?numberDays until expiry; worked out from `expires` when omitted. Under 30 warns, under 7 is danger.
autoRenew?boolean
ssl?DomainHeaderCheck & { expires?: Date | string | number; issuer?: ReactNode }
mail?{ mx?: DomainHeaderCheck; spf?: DomainHeaderCheck; dkim?: DomainHeaderCheck; dmarc?: DomainHeaderCheck; }The mail lights.
onOpenCheck?(check: "mx" | "spf" | "dkim" | "dmarc" | "ssl" | "expiry") => void
actions?ReactNodeButtons on the right (renew, add record).
now?Date | string | numberWhat counts as today for `days` (default now).
className?stringExtra class on the root element.
style?CSSPropertiesInline style on the root element.

DnsRecordTable

PropTypeNotes
recordsDnsRecord[]Required
rowMenu?(r: DnsRecord) => (MenuItem | "-")[]
selectable?boolean
bulkActions?BulkAction<DnsRecord>[]
toolbar?ReactNode
className?stringExtra class on the root element.
style?CSSPropertiesInline style on the root element.