@tsclass/tsclass
Version:
Provides TypeScript definitions for various business, financial, networking, content, and other common classes.
8 lines (7 loc) • 324 B
TypeScript
export type TDnsRecordType = 'A' | 'AAAA' | 'CNAME' | 'LOC' | 'PTR' | 'MX' | 'NAPTR' | 'NS' | 'SRV' | 'TXT' | 'CAA' | 'CERT' | 'DNSKEY' | 'DS' | 'HTTPS' | 'SMIMEA' | 'SSHFP' | 'SVCB' | 'TLSA' | 'URI';
export interface IDnsRecord {
name: string;
type: TDnsRecordType;
value: string;
dnsSecEnabled: boolean;
}