MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / extractTopLevelDomain

Function extractTopLevelDomain

bgp/bgp.ts:190–194  ·  view source on GitHub ↗
(domain: string)

Source from the content-addressed store, hash-verified

188
189function extractDNSData(html: string): {
190 dnsLines: string[];
191 totalRecords: number;
192 filteredRecords: number;
193} {
194 const dnsLines: string[] = [];
195 const ipDomainMap = new Map<string, string[]>();
196 const domainRecords: Array<{ ip: string; domain: string; topLevelDomain: string }> = [];
197

Callers 1

extractDNSDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected