Methods

SM lookup(domain: string, family: number, callback: module:dns.LookupCallbackCallback) string

Parameters:
Name Type
domain string
family number
callback module:dns.LookupCallbackCallback
Returns: { string }

SM lookup(domain: string, callback: module:dns.LookupCallbackCallback) string

Parameters:
Name Type
domain string
callback module:dns.LookupCallbackCallback
Returns: { string }

SM resolve(domain: string, rrtype: string, callback: module:dns.ResolveCallbackCallback) string[]

Parameters:
Name Type
domain string
rrtype string
callback module:dns.ResolveCallbackCallback
Returns: { Array.<string> }

SM resolve4(domain: string, callback: module:dns.Resolve4CallbackCallback) string[]

Parameters:
Name Type
domain string
callback module:dns.Resolve4CallbackCallback
Returns: { Array.<string> }

SM resolve6(domain: string, callback: module:dns.Resolve6CallbackCallback) string[]

Parameters:
Name Type
domain string
callback module:dns.Resolve6CallbackCallback
Returns: { Array.<string> }

SM resolve(domain: string, callback: module:dns.ResolveCallbackCallback) string[]

Parameters:
Name Type
domain string
callback module:dns.ResolveCallbackCallback
Returns: { Array.<string> }

SM resolveCname(domain: string, callback: module:dns.ResolveCnameCallbackCallback) string[]

Parameters:
Name Type
domain string
callback module:dns.ResolveCnameCallbackCallback
Returns: { Array.<string> }

SM resolveMx(domain: string, callback: module:dns.ResolveMxCallbackCallback) string[]

Parameters:
Name Type
domain string
callback module:dns.ResolveMxCallbackCallback
Returns: { Array.<string> }

SM resolveNs(domain: string, callback: module:dns.ResolveNsCallbackCallback) string[]

Parameters:
Name Type
domain string
callback module:dns.ResolveNsCallbackCallback
Returns: { Array.<string> }

SM resolveSrv(domain: string, callback: module:dns.ResolveSrvCallbackCallback) string[]

Parameters:
Name Type
domain string
callback module:dns.ResolveSrvCallbackCallback
Returns: { Array.<string> }

SM resolveTxt(domain: string, callback: module:dns.ResolveTxtCallbackCallback) string[]

Parameters:
Name Type
domain string
callback module:dns.ResolveTxtCallbackCallback
Returns: { Array.<string> }

SM reverse(ip: string, callback: module:dns.ReverseCallbackCallback) string[]

Parameters:
Name Type
ip string
callback module:dns.ReverseCallbackCallback
Returns: { Array.<string> }

Callbacks

LookupCallbackCallback(err: Error, address: string, family: number) void

Parameters:
Name Type
err Error
address string
family number
Returns: { void }

LookupCallbackCallback(err: Error, address: string, family: number) void

Parameters:
Name Type
err Error
address string
family number
Returns: { void }

Resolve4CallbackCallback(err: Error, addresses: string[]) void

Parameters:
Name Type
err Error
addresses Array.<string>
Returns: { void }

Resolve6CallbackCallback(err: Error, addresses: string[]) void

Parameters:
Name Type
err Error
addresses Array.<string>
Returns: { void }

ResolveCallbackCallback(err: Error, addresses: string[]) void

Parameters:
Name Type
err Error
addresses Array.<string>
Returns: { void }

ResolveCallbackCallback(err: Error, addresses: string[]) void

Parameters:
Name Type
err Error
addresses Array.<string>
Returns: { void }

ResolveCnameCallbackCallback(err: Error, addresses: string[]) void

Parameters:
Name Type
err Error
addresses Array.<string>
Returns: { void }

ResolveMxCallbackCallback(err: Error, addresses: string[]) void

Parameters:
Name Type
err Error
addresses Array.<string>
Returns: { void }

ResolveNsCallbackCallback(err: Error, addresses: string[]) void

Parameters:
Name Type
err Error
addresses Array.<string>
Returns: { void }

ResolveSrvCallbackCallback(err: Error, addresses: string[]) void

Parameters:
Name Type
err Error
addresses Array.<string>
Returns: { void }

ResolveTxtCallbackCallback(err: Error, addresses: string[]) void

Parameters:
Name Type
err Error
addresses Array.<string>
Returns: { void }

ReverseCallbackCallback(err: Error, domains: string[]) void

Parameters:
Name Type
err Error
domains Array.<string>
Returns: { void }