Resolver

@JSImport("node:dns", "Resolver") @native @JSType class Resolver() extends Resolver
class Resolver
trait StObject
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Constructors

def this(options: ResolverOptions)

Inherited methods

def cancel(): Unit
Inherited from
Resolver
def getServers(): Array[String]
Inherited from
Resolver
def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def resolve(hostname: String, rrtype: String, callback: Function2[ErrnoException | Null, Array[AnyRecord | Array[String] | MxRecord | NaptrRecord | SrvRecord | String] | SoaRecord, Unit]): Unit
Inherited from
Resolver
def resolve(hostname: String, callback: Function2[ErrnoException | Null, Array[String], Unit]): Unit
Inherited from
Resolver
def resolve4(hostname: String, options: ResolveWithTtlOptions, callback: Function2[ErrnoException | Null, Array[RecordWithTtl], Unit]): Unit
Inherited from
Resolver
def resolve4(hostname: String, options: ResolveOptions, callback: Function2[ErrnoException | Null, Array[RecordWithTtl | String], Unit]): Unit
Inherited from
Resolver
def resolve4(hostname: String, callback: Function2[ErrnoException | Null, Array[String], Unit]): Unit
Inherited from
Resolver
def resolve6(hostname: String, options: ResolveWithTtlOptions, callback: Function2[ErrnoException | Null, Array[RecordWithTtl], Unit]): Unit
Inherited from
Resolver
def resolve6(hostname: String, options: ResolveOptions, callback: Function2[ErrnoException | Null, Array[RecordWithTtl | String], Unit]): Unit
Inherited from
Resolver
def resolve6(hostname: String, callback: Function2[ErrnoException | Null, Array[String], Unit]): Unit
Inherited from
Resolver
def resolveAny(hostname: String, callback: Function2[ErrnoException | Null, Array[AnyRecord], Unit]): Unit
Inherited from
Resolver
def resolveCname(hostname: String, callback: Function2[ErrnoException | Null, Array[String], Unit]): Unit
Inherited from
Resolver
def resolveMx(hostname: String, callback: Function2[ErrnoException | Null, Array[MxRecord], Unit]): Unit
Inherited from
Resolver
def resolveNaptr(hostname: String, callback: Function2[ErrnoException | Null, Array[NaptrRecord], Unit]): Unit
Inherited from
Resolver
def resolveNs(hostname: String, callback: Function2[ErrnoException | Null, Array[String], Unit]): Unit
Inherited from
Resolver
def resolvePtr(hostname: String, callback: Function2[ErrnoException | Null, Array[String], Unit]): Unit
Inherited from
Resolver
def resolveSoa(hostname: String, callback: Function2[ErrnoException | Null, SoaRecord, Unit]): Unit
Inherited from
Resolver
def resolveSrv(hostname: String, callback: Function2[ErrnoException | Null, Array[SrvRecord], Unit]): Unit
Inherited from
Resolver
def resolveTxt(hostname: String, callback: Function2[ErrnoException | Null, Array[Array[String]], Unit]): Unit
Inherited from
Resolver
@JSName("resolve")
def resolve_A(hostname: String, rrtype: A, callback: Function2[ErrnoException | Null, Array[String], Unit]): Unit
Inherited from
Resolver
@JSName("resolve")
def resolve_AAAA(hostname: String, rrtype: AAAA, callback: Function2[ErrnoException | Null, Array[String], Unit]): Unit
Inherited from
Resolver
@JSName("resolve")
def resolve_ANY(hostname: String, rrtype: ANY, callback: Function2[ErrnoException | Null, Array[AnyRecord], Unit]): Unit
Inherited from
Resolver
@JSName("resolve")
def resolve_CNAME(hostname: String, rrtype: CNAME, callback: Function2[ErrnoException | Null, Array[String], Unit]): Unit
Inherited from
Resolver
@JSName("resolve")
def resolve_MX(hostname: String, rrtype: MX, callback: Function2[ErrnoException | Null, Array[MxRecord], Unit]): Unit
Inherited from
Resolver
@JSName("resolve")
def resolve_NAPTR(hostname: String, rrtype: NAPTR, callback: Function2[ErrnoException | Null, Array[NaptrRecord], Unit]): Unit
Inherited from
Resolver
@JSName("resolve")
def resolve_NS(hostname: String, rrtype: NS, callback: Function2[ErrnoException | Null, Array[String], Unit]): Unit
Inherited from
Resolver
@JSName("resolve")
def resolve_PTR(hostname: String, rrtype: PTR, callback: Function2[ErrnoException | Null, Array[String], Unit]): Unit
Inherited from
Resolver
@JSName("resolve")
def resolve_SOA(hostname: String, rrtype: SOA, callback: Function2[ErrnoException | Null, SoaRecord, Unit]): Unit
Inherited from
Resolver
@JSName("resolve")
def resolve_SRV(hostname: String, rrtype: SRV, callback: Function2[ErrnoException | Null, Array[SrvRecord], Unit]): Unit
Inherited from
Resolver
@JSName("resolve")
def resolve_TXT(hostname: String, rrtype: TXT, callback: Function2[ErrnoException | Null, Array[Array[String]], Unit]): Unit
Inherited from
Resolver
def reverse(ip: String, callback: Function2[ErrnoException | Null, Array[String], Unit]): Unit
Inherited from
Resolver
def setLocalAddress(ipv4: Unit, ipv6: String): Unit
Inherited from
Resolver
def setLocalAddress(ipv4: String, ipv6: String): Unit
Inherited from
Resolver
def setLocalAddress(ipv4: String): Unit
Inherited from
Resolver
def setLocalAddress(): Unit
Inherited from
Resolver
def setServers(servers: Array[String]): Unit
Inherited from
Resolver
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object

Inherited fields

@JSName("getServers")
var getServers_Original: Function0[Array[String]]
Inherited from
Resolver
@JSName("resolve4")
Inherited from
Resolver
@JSName("resolve6")
Inherited from
Resolver
@JSName("resolveAny")
var resolveAny_Original: Function2[String, Function2[ErrnoException | Null, Array[AnyRecord], Unit], Unit]
Inherited from
Resolver
@JSName("resolveCname")
var resolveCname_Original: Function2[String, Function2[ErrnoException | Null, Array[String], Unit], Unit]
Inherited from
Resolver
@JSName("resolveMx")
var resolveMx_Original: Function2[String, Function2[ErrnoException | Null, Array[MxRecord], Unit], Unit]
Inherited from
Resolver
@JSName("resolveNaptr")
var resolveNaptr_Original: Function2[String, Function2[ErrnoException | Null, Array[NaptrRecord], Unit], Unit]
Inherited from
Resolver
@JSName("resolveNs")
var resolveNs_Original: Function2[String, Function2[ErrnoException | Null, Array[String], Unit], Unit]
Inherited from
Resolver
@JSName("resolvePtr")
var resolvePtr_Original: Function2[String, Function2[ErrnoException | Null, Array[String], Unit], Unit]
Inherited from
Resolver
@JSName("resolveSoa")
var resolveSoa_Original: Function2[String, Function2[ErrnoException | Null, SoaRecord, Unit], Unit]
Inherited from
Resolver
@JSName("resolveSrv")
var resolveSrv_Original: Function2[String, Function2[ErrnoException | Null, Array[SrvRecord], Unit], Unit]
Inherited from
Resolver
@JSName("resolveTxt")
var resolveTxt_Original: Function2[String, Function2[ErrnoException | Null, Array[Array[String]], Unit], Unit]
Inherited from
Resolver
@JSName("resolve")
Inherited from
Resolver
@JSName("reverse")
var reverse_Original: Function2[String, Function2[ErrnoException | Null, Array[String], Unit], Unit]
Inherited from
Resolver
@JSName("setServers")
var setServers_Original: Function1[Array[String], Unit]
Inherited from
Resolver