interfaces/ts/data/domainsnapshot.ts
2023-04-17 13:56:55 +02:00

30 lines
719 B
TypeScript

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