Skip to content

Resolve

[<Interface>]
type Resolve =
    abstract member Invoke (hostname: string, rrtype: string, callback: Callback11) : unit
    abstract member Invoke (hostname: string, rrtype: string, callback: Callback10) : unit
    abstract member Invoke (hostname: string, rrtype: string, callback: Callback9) : unit
    abstract member Invoke (hostname: string, rrtype: string, callback: Callback8) : unit
    abstract member Invoke (hostname: string, rrtype: string, callback: Callback7) : unit
    abstract member Invoke (hostname: string, rrtype: string, callback: Callback6) : unit
    abstract member Invoke (hostname: string, rrtype: string, callback: Callback5) : unit
    abstract member Invoke (hostname: string, rrtype: string, callback: Callback4) : unit
    abstract member Invoke (hostname: string, rrtype: string, callback: Callback3) : unit
    abstract member Invoke (hostname: string, rrtype: Rrtype, callback: Callback2) : unit
    abstract member Invoke (hostname: string, callback: Callback) : unit
    abstract member __promisify__ (hostname: string, rrtype: string) : Promise<U9<string array,string array array,CaaRecord array,MxRecord array,NaptrRecord array,SrvRecord array,TlsaRecord array,AnyRecord array,SoaRecord>>
    abstract member __promisify__ (hostname: string, ?rrtype: Rrtype) : Promise<string array>
    abstract member __promisify__ANY (hostname: string) : Promise<AnyRecord array>
    abstract member __promisify__CAA (hostname: string) : Promise<CaaRecord array>
    abstract member __promisify__MX (hostname: string) : Promise<MxRecord array>
    abstract member __promisify__NAPTR (hostname: string) : Promise<NaptrRecord array>
    abstract member __promisify__SOA (hostname: string) : Promise<SoaRecord>
    abstract member __promisify__SRV (hostname: string) : Promise<SrvRecord array>
    abstract member __promisify__TLSA (hostname: string) : Promise<TlsaRecord array>
    abstract member __promisify__TXT (hostname: string) : Promise<string array array>
AssemblyXantham.Fable.Node

Declared inside

Callback
Callback10
Callback11
Callback2
Callback3
Callback4
Callback5
Callback6
Callback7
Callback8
Callback9
Promisify

Methods

abstract member Invoke (hostname: string, rrtype: string, callback: Callback11) : unit

Uses the DNS protocol to resolve a host name (e.g. 'nodejs.org') into an array of the resource records. The callback function has arguments (err, records). When successful, records will be an array of resource records. The type and structure of individual results varies based on rrtype:

On error, err is an Error object, where err.code is one of the DNS error codes.

@since v0.1.27

Parameter
hostnameHost name to resolve.
rrtypeResource record type.
abstract member Invoke (hostname: string, rrtype: string, callback: Callback10) : unit

Uses the DNS protocol to resolve a host name (e.g. 'nodejs.org') into an array of the resource records. The callback function has arguments (err, records). When successful, records will be an array of resource records. The type and structure of individual results varies based on rrtype:

On error, err is an Error object, where err.code is one of the DNS error codes.

@since v0.1.27

Parameter
hostnameHost name to resolve.
rrtypeResource record type.
abstract member Invoke (hostname: string, rrtype: string, callback: Callback9) : unit

Uses the DNS protocol to resolve a host name (e.g. 'nodejs.org') into an array of the resource records. The callback function has arguments (err, records). When successful, records will be an array of resource records. The type and structure of individual results varies based on rrtype:

On error, err is an Error object, where err.code is one of the DNS error codes.

@since v0.1.27

Parameter
hostnameHost name to resolve.
rrtypeResource record type.
abstract member Invoke (hostname: string, rrtype: string, callback: Callback8) : unit

Uses the DNS protocol to resolve a host name (e.g. 'nodejs.org') into an array of the resource records. The callback function has arguments (err, records). When successful, records will be an array of resource records. The type and structure of individual results varies based on rrtype:

On error, err is an Error object, where err.code is one of the DNS error codes.

@since v0.1.27

Parameter
hostnameHost name to resolve.
rrtypeResource record type.
abstract member Invoke (hostname: string, rrtype: string, callback: Callback7) : unit

Uses the DNS protocol to resolve a host name (e.g. 'nodejs.org') into an array of the resource records. The callback function has arguments (err, records). When successful, records will be an array of resource records. The type and structure of individual results varies based on rrtype:

On error, err is an Error object, where err.code is one of the DNS error codes.

@since v0.1.27

Parameter
hostnameHost name to resolve.
rrtypeResource record type.
abstract member Invoke (hostname: string, rrtype: string, callback: Callback6) : unit

Uses the DNS protocol to resolve a host name (e.g. 'nodejs.org') into an array of the resource records. The callback function has arguments (err, records). When successful, records will be an array of resource records. The type and structure of individual results varies based on rrtype:

On error, err is an Error object, where err.code is one of the DNS error codes.

@since v0.1.27

Parameter
hostnameHost name to resolve.
rrtypeResource record type.
abstract member Invoke (hostname: string, rrtype: string, callback: Callback5) : unit

Uses the DNS protocol to resolve a host name (e.g. 'nodejs.org') into an array of the resource records. The callback function has arguments (err, records). When successful, records will be an array of resource records. The type and structure of individual results varies based on rrtype:

On error, err is an Error object, where err.code is one of the DNS error codes.

@since v0.1.27

Parameter
hostnameHost name to resolve.
rrtypeResource record type.
abstract member Invoke (hostname: string, rrtype: string, callback: Callback4) : unit

Uses the DNS protocol to resolve a host name (e.g. 'nodejs.org') into an array of the resource records. The callback function has arguments (err, records). When successful, records will be an array of resource records. The type and structure of individual results varies based on rrtype:

On error, err is an Error object, where err.code is one of the DNS error codes.

@since v0.1.27

Parameter
hostnameHost name to resolve.
rrtypeResource record type.
abstract member Invoke (hostname: string, rrtype: string, callback: Callback3) : unit

Uses the DNS protocol to resolve a host name (e.g. 'nodejs.org') into an array of the resource records. The callback function has arguments (err, records). When successful, records will be an array of resource records. The type and structure of individual results varies based on rrtype:

On error, err is an Error object, where err.code is one of the DNS error codes.

@since v0.1.27

Parameter
hostnameHost name to resolve.
rrtypeResource record type.
abstract member Invoke (hostname: string, rrtype: Rrtype, callback: Callback2) : unit

Uses the DNS protocol to resolve a host name (e.g. 'nodejs.org') into an array of the resource records. The callback function has arguments (err, records). When successful, records will be an array of resource records. The type and structure of individual results varies based on rrtype:

On error, err is an Error object, where err.code is one of the DNS error codes.

@since v0.1.27

Parameter
hostnameHost name to resolve.
rrtypeResource record type.
abstract member Invoke (hostname: string, callback: Callback) : unit

Uses the DNS protocol to resolve a host name (e.g. 'nodejs.org') into an array of the resource records. The callback function has arguments (err, records). When successful, records will be an array of resource records. The type and structure of individual results varies based on rrtype:

On error, err is an Error object, where err.code is one of the DNS error codes.

@since v0.1.27

Parameter
hostnameHost name to resolve.
rrtypeResource record type.
abstract member __promisify__ (hostname: string, rrtype: string) : Promise<U9<string array,string array array,CaaRecord array,MxRecord array,NaptrRecord array,SrvRecord array,TlsaRecord array,AnyRecord array,SoaRecord>>
abstract member __promisify__ (hostname: string, ?rrtype: Rrtype) : Promise<string array>
abstract member __promisify__ANY (hostname: string) : Promise<AnyRecord array>
function __promisify__(hostname: string, rrtype: "ANY"): Promise<AnyRecord[]>
abstract member __promisify__CAA (hostname: string) : Promise<CaaRecord array>
function __promisify__(hostname: string, rrtype: "CAA"): Promise<CaaRecord[]>
abstract member __promisify__MX (hostname: string) : Promise<MxRecord array>
function __promisify__(hostname: string, rrtype: "MX"): Promise<MxRecord[]>
abstract member __promisify__NAPTR (hostname: string) : Promise<NaptrRecord array>
function __promisify__(hostname: string, rrtype: "NAPTR"): Promise<NaptrRecord[]>
abstract member __promisify__SOA (hostname: string) : Promise<SoaRecord>
function __promisify__(hostname: string, rrtype: "SOA"): Promise<SoaRecord>
abstract member __promisify__SRV (hostname: string) : Promise<SrvRecord array>
function __promisify__(hostname: string, rrtype: "SRV"): Promise<SrvRecord[]>
abstract member __promisify__TLSA (hostname: string) : Promise<TlsaRecord array>
function __promisify__(hostname: string, rrtype: "TLSA"): Promise<TlsaRecord[]>
abstract member __promisify__TXT (hostname: string) : Promise<string array array>
function __promisify__(hostname: string, rrtype: "TXT"): Promise<string[][]>