interfaces/ts/data/domainsnapshot.ts
2023-04-19 20:40:21 +02:00

36 lines
855 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;
}[];
recordScans: {
identifier: string;
nameservers: string[];
aRecords: plugins.tsclass.network.IDnsRecord[];
aaaaRecords: plugins.tsclass.network.IDnsRecord[];
txtRecords: plugins.tsclass.network.IDnsRecord[];
mxRecords: plugins.tsclass.network.IDnsRecord[];
specialRecords: {
dmarc: plugins.tsclass.network.IDnsRecord[];
}
}[]
whoisServers: {
serverUrl: string;
content: string;
}[];
}