interfaces/ts/data/domainsnapshot.ts
2023-04-17 13:54:47 +02:00

29 lines
696 B
TypeScript

import * as plugins from '../ul-interfaces.plugins.js';
export interface IDomainSnapshot {
registration: {
isRegistered: boolean;
createionDate: number;
expiryDate: number;
};
delegation: {
domainWithoutSuffix: string;
publicSuffix: string;
subdomain: string;
isIcann: boolean;
dnsSecEnabled: boolean;
};
phishingFlags: {
listName: string;
}[];
nameservers: string[];
aRecords: plugins.tsclass.network.IDnsRecord[];
aaaaRecords: plugins.tsclass.network.IDnsRecord[];
txtRecords: plugins.tsclass.network.IDnsRecord[];
mxRecords: plugins.tsclass.network.IDnsRecord[];
whoisServers: {
serverUrl: string;
content: string;
}[];
}