property
dns.promises.Resolver.resolve
resolve: {(hostname: string) => Promise<string[]>; (hostname: string, rrtype: 'A') => Promise<string[]>; (hostname: string, rrtype: 'AAAA') => Promise<string[]>; (hostname: string, rrtype: 'ANY') => Promise<AnyRecord[]>; (hostname: string, rrtype: 'CAA') => Promise<CaaRecord[]>; (hostname: string, rrtype: 'CNAME') => Promise<string[]>; (hostname: string, rrtype: 'MX') => Promise<MxRecord[]>; (hostname: string, rrtype: 'NAPTR') => Promise<NaptrRecord[]>; (hostname: string, rrtype: 'NS') => Promise<string[]>; (hostname: string, rrtype: 'PTR') => Promise<string[]>; (hostname: string, rrtype: 'SOA') => Promise<SoaRecord>; (hostname: string, rrtype: 'SRV') => Promise<SrvRecord[]>; (hostname: string, rrtype: 'TXT') => Promise<string[][]>; (hostname: string, rrtype: string) => Promise<string[] | SoaRecord | AnyRecord[] | MxRecord[] | NaptrRecord[] | SrvRecord[] | string[][]>}