nodeColondnsMod

class Object
trait Matchable
class Any

Type members

Classlikes

@JSImport("node:dns/promises", "Resolver") @native @JSType
class Resolver() extends Resolver

Value members

Concrete methods

@inline
def getServers(): Array[String]
@inline
def lookup(hostname: String): Promise[LookupAddress]
@inline
def lookup(hostname: String, family: Double): Promise[LookupAddress]
@inline
def lookup(hostname: String, options: LookupAllOptions): Promise[Array[LookupAddress]]
@inline
def lookup(hostname: String, options: LookupOneOptions): Promise[LookupAddress]
@inline
def lookup(hostname: String, options: LookupOptions): Promise[LookupAddress | Array[LookupAddress]]
@inline
def lookupService(address: String, port: Double): Promise[Hostname]
@inline
def resolve(hostname: String): Promise[Array[String]]
@inline
def resolve(hostname: String, rrtype: String): Promise[Array[AnyRecord | Array[String] | MxRecord | NaptrRecord | SrvRecord | String] | SoaRecord]
@inline
def resolve4(hostname: String): Promise[Array[String]]
@inline
def resolve4(hostname: String, options: ResolveOptions): Promise[Array[RecordWithTtl | String]]
@inline
def resolve4(hostname: String, options: ResolveWithTtlOptions): Promise[Array[RecordWithTtl]]
@inline
def resolve6(hostname: String): Promise[Array[String]]
@inline
def resolve6(hostname: String, options: ResolveOptions): Promise[Array[RecordWithTtl | String]]
@inline
def resolve6(hostname: String, options: ResolveWithTtlOptions): Promise[Array[RecordWithTtl]]
@inline
def resolveAny(hostname: String): Promise[Array[AnyRecord]]
@inline
def resolveCaa(hostname: String): Promise[Array[CaaRecord]]
@inline
def resolveCname(hostname: String): Promise[Array[String]]
@inline
def resolveMx(hostname: String): Promise[Array[MxRecord]]
@inline
def resolveNaptr(hostname: String): Promise[Array[NaptrRecord]]
@inline
def resolveNs(hostname: String): Promise[Array[String]]
@inline
def resolvePtr(hostname: String): Promise[Array[String]]
@inline
def resolveSoa(hostname: String): Promise[SoaRecord]
@inline
def resolveSrv(hostname: String): Promise[Array[SrvRecord]]
@inline
def resolveTxt(hostname: String): Promise[Array[Array[String]]]
@inline
def resolve_A(hostname: String, rrtype: A): Promise[Array[String]]
@inline
def resolve_AAAA(hostname: String, rrtype: AAAA): Promise[Array[String]]
@inline
def resolve_ANY(hostname: String, rrtype: ANY): Promise[Array[AnyRecord]]
@inline
def resolve_CAA(hostname: String, rrtype: CAA): Promise[Array[CaaRecord]]
@inline
def resolve_CNAME(hostname: String, rrtype: CNAME): Promise[Array[String]]
@inline
def resolve_MX(hostname: String, rrtype: MX): Promise[Array[MxRecord]]
@inline
def resolve_NAPTR(hostname: String, rrtype: NAPTR): Promise[Array[NaptrRecord]]
@inline
def resolve_NS(hostname: String, rrtype: NS): Promise[Array[String]]
@inline
def resolve_PTR(hostname: String, rrtype: PTR): Promise[Array[String]]
@inline
def resolve_SOA(hostname: String, rrtype: SOA): Promise[SoaRecord]
@inline
def resolve_SRV(hostname: String, rrtype: SRV): Promise[Array[SrvRecord]]
@inline
def resolve_TXT(hostname: String, rrtype: TXT): Promise[Array[Array[String]]]
@inline
def reverse(ip: String): Promise[Array[String]]
@inline
def setServers(servers: Array[String]): Unit

Concrete fields

@JSImport("node:dns/promises") @native
val ^: Any