Dns Record Table
Data · DnsRecordTable, DomainList, MailAuthStatus
Domains and DNS: DnsRecordTable, DomainList (sorted by what needs attention) and MailAuthStatus (MX, SPF, DKIM, DMARC lights).
DnsRecordTable: records ({id, type, name, content, ttl, proxy: true | false | null}), rowMenu(record) (Menu items), selectable, bulkActions, toolbar. Built on DataTable.
DomainList: items ({name, registrar, dns, days, ssl, sslLabel}), onOpen. Under 30 days warns, under 7 days is danger.
MailAuthStatus: rows ({domain, mx, spf, dkim, dmarc: {status, label}}), columns, onOpen(row, column).
Props
DnsRecordTable
| Prop | Type | Notes |
|---|
records | DnsRecord[] | Required |
rowMenu? | (r: DnsRecord) => (MenuItem | "-")[] | |
selectable? | boolean | |
bulkActions? | BulkAction<DnsRecord>[] | |
toolbar? | ReactNode | |
className? | string | Extra class on the root element. |
style? | CSSProperties | Inline style on the root element. |
DomainList
| Prop | Type | Notes |
|---|
items | { name: string; registrar?: string; dns?: string; days?: number; ssl?: Status; sslLabel?: string; }[] | Required |
onOpen? | (d: NonNullable<DomainListProps["items"]>[number]) => void | |
className? | string | Extra class on the root element. |
style? | CSSProperties | Inline style on the root element. |
MailAuthStatus
| Prop | Type | Notes |
|---|
rows | { domain: string; mx?: { status: Status; label?: string }; spf?: { status: Status; label?: string }; dkim?: { status: Status; label?: string }; dmarc?: { status: Status; label?: string }; }[] | Required |
columns? | string[] | |
onOpen? | (row: NonNullable<MailAuthStatusProps["rows"]>[number], column: string) => void | |
className? | string | Extra class on the root element. |
style? | CSSProperties | Inline style on the root element. |