@amuject/dns
Version:
Resolve DNS
12 lines (11 loc) • 467 B
TypeScript
declare function a(domain: string, timeout?: number, server?: string): Promise<unknown>;
declare function aaaa(domain: any, timeout?: number, server?: any): Promise<unknown>;
declare function aaaaa(domain: any, server: any): Promise<{
error: any;
type: string;
domain: any;
records: any[];
}>;
declare function ip(host: any, server: any): Promise<any>;
declare function ips(host: any, server: any): Promise<any[]>;
export { a, aaaa, aaaaa, ip, ips };