Methods
SM lookup(domain: string, family: number, callback: module:dns.LookupCallbackCallback) string
Parameters:
Name | Type |
---|---|
domain |
string |
family |
number |
callback |
module:dns.LookupCallbackCallback |
SM lookup(domain: string, callback: module:dns.LookupCallbackCallback) string
SM resolve(domain: string, rrtype: string, callback: module:dns.ResolveCallbackCallback) string[]
Parameters:
Name | Type |
---|---|
domain |
string |
rrtype |
string |
callback |
module:dns.ResolveCallbackCallback |
SM resolve4(domain: string, callback: module:dns.Resolve4CallbackCallback) string[]
Parameters:
Name | Type |
---|---|
domain |
string |
callback |
module:dns.Resolve4CallbackCallback |
SM resolve6(domain: string, callback: module:dns.Resolve6CallbackCallback) string[]
Parameters:
Name | Type |
---|---|
domain |
string |
callback |
module:dns.Resolve6CallbackCallback |
SM resolve(domain: string, callback: module:dns.ResolveCallbackCallback) string[]
Parameters:
Name | Type |
---|---|
domain |
string |
callback |
module:dns.ResolveCallbackCallback |
SM resolveCname(domain: string, callback: module:dns.ResolveCnameCallbackCallback) string[]
Parameters:
Name | Type |
---|---|
domain |
string |
callback |
module:dns.ResolveCnameCallbackCallback |
SM resolveMx(domain: string, callback: module:dns.ResolveMxCallbackCallback) string[]
Parameters:
Name | Type |
---|---|
domain |
string |
callback |
module:dns.ResolveMxCallbackCallback |
SM resolveNs(domain: string, callback: module:dns.ResolveNsCallbackCallback) string[]
Parameters:
Name | Type |
---|---|
domain |
string |
callback |
module:dns.ResolveNsCallbackCallback |
SM resolveSrv(domain: string, callback: module:dns.ResolveSrvCallbackCallback) string[]
Parameters:
Name | Type |
---|---|
domain |
string |
callback |
module:dns.ResolveSrvCallbackCallback |
SM resolveTxt(domain: string, callback: module:dns.ResolveTxtCallbackCallback) string[]
Parameters:
Name | Type |
---|---|
domain |
string |
callback |
module:dns.ResolveTxtCallbackCallback |
SM reverse(ip: string, callback: module:dns.ReverseCallbackCallback) string[]
Parameters:
Name | Type |
---|---|
ip |
string |
callback |
module:dns.ReverseCallbackCallback |
Callbacks
Parameters:
Name | Type |
---|---|
err |
Error |
address |
string |
family |
number |
Parameters:
Name | Type |
---|---|
err |
Error |
address |
string |
family |
number |
Parameters:
Name | Type |
---|---|
err |
Error |
addresses |
Array.<string> |
Parameters:
Name | Type |
---|---|
err |
Error |
addresses |
Array.<string> |
Parameters:
Name | Type |
---|---|
err |
Error |
addresses |
Array.<string> |
Parameters:
Name | Type |
---|---|
err |
Error |
addresses |
Array.<string> |
Parameters:
Name | Type |
---|---|
err |
Error |
addresses |
Array.<string> |
Parameters:
Name | Type |
---|---|
err |
Error |
addresses |
Array.<string> |
Parameters:
Name | Type |
---|---|
err |
Error |
addresses |
Array.<string> |
Parameters:
Name | Type |
---|---|
err |
Error |
addresses |
Array.<string> |
Parameters:
Name | Type |
---|---|
err |
Error |
addresses |
Array.<string> |
Parameters:
Name | Type |
---|---|
err |
Error |
domains |
Array.<string> |