interfaces/ts/data/domainsnapshot.ts
2023-04-10 14:09:21 +02:00

28 lines
689 B
TypeScript

import * as plugins from '../ul-interfaces.plugins.js';
export interface IDomainSnapshot {
registration: {
isRegistered: boolean;
registeredAt: Date;
expiresAt: Date;
};
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;
}[];
}