mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
feat: add DNSSEC badge in domain response
This commit is contained in:
@@ -11,7 +11,7 @@ import {regionNames} from "../../i18n";
|
||||
import {getCountryCode} from "../../utils/functions/getCountryCode";
|
||||
import {eppStatusCodeToColor} from "../../utils/functions/eppStatusCodeToColor";
|
||||
import {DomainLifecycleSteps} from "./DomainLifecycleSteps";
|
||||
import {BankOutlined, SafetyCertificateOutlined} from '@ant-design/icons'
|
||||
import {BankOutlined, KeyOutlined, SafetyCertificateOutlined} from '@ant-design/icons'
|
||||
|
||||
export function DomainResult({domain}: { domain: Domain }) {
|
||||
|
||||
@@ -68,6 +68,11 @@ export function DomainResult({domain}: { domain: Domain }) {
|
||||
icon={<BankOutlined
|
||||
style={{fontSize: '16px'}}/>}>{t`Registrar Lock`}</Tag>
|
||||
</Tooltip>
|
||||
<Tooltip
|
||||
title={t`DNSSEC secures DNS by adding cryptographic signatures to DNS records, ensuring authenticity and integrity of responses`}>
|
||||
<Tag bordered={false} color={domain.delegationSigned ? 'green' : 'default'}
|
||||
icon={<KeyOutlined style={{fontSize: '16px'}}/>}>{t`DNSSEC`}</Tag>
|
||||
</Tooltip>
|
||||
</Flex>
|
||||
{domain.status.length > 0 &&
|
||||
<>
|
||||
|
||||
@@ -60,6 +60,7 @@ export interface Domain {
|
||||
tld: Tld
|
||||
deleted: boolean
|
||||
updatedAt: string
|
||||
delegationSigned: boolean
|
||||
}
|
||||
|
||||
export interface User {
|
||||
|
||||
Reference in New Issue
Block a user