- __promisify__(hostname, rrtype?): Promise<string[]>
Parameters
- hostname: string
Optionalrrtype:
| "A"
| "AAAA"
| "NS"
| "PTR"
| "CNAME"
Returns Promise<string[]>
- __promisify__(hostname, rrtype): Promise<AnyRecord[]>
Parameters
- hostname: string
- rrtype: "ANY"
- __promisify__(hostname, rrtype): Promise<CaaRecord[]>
Parameters
- hostname: string
- rrtype: "CAA"
- __promisify__(hostname, rrtype): Promise<MxRecord[]>
Parameters
- hostname: string
- rrtype: "MX"
- __promisify__(hostname, rrtype): Promise<NaptrRecord[]>
Parameters
- hostname: string
- rrtype: "NAPTR"
- __promisify__(hostname, rrtype): Promise<SoaRecord>
Parameters
- hostname: string
- rrtype: "SOA"
- __promisify__(hostname, rrtype): Promise<SrvRecord[]>
Parameters
- hostname: string
- rrtype: "SRV"
- __promisify__(hostname, rrtype): Promise<TlsaRecord[]>
Parameters
- hostname: string
- rrtype: "TLSA"
- __promisify__(hostname, rrtype): Promise<string[][]>
Parameters
- hostname: string
- rrtype: "TXT"
Returns Promise<string[][]>
- __promisify__(hostname, rrtype): Promise<
| string[]
| CaaRecord[]
| MxRecord[]
| NaptrRecord[]
| SoaRecord
| SrvRecord[]
| TlsaRecord[]
| string[][]
| AnyRecord[]> Parameters
- hostname: string
- rrtype: string