nodeDnsMod

object nodeDnsMod
class Object
trait Matchable
class Any

Type members

Classlikes

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

Value members

Concrete methods

@inline
def getServers(): Array[String]
@inline
def lookup(hostname: String, callback: Function3[ErrnoException | Null, String, Double, Unit]): Unit
@inline
def lookup(hostname: String, family: Double, callback: Function3[ErrnoException | Null, String, Double, Unit]): Unit
@inline
def lookup(hostname: String, options: LookupAllOptions, callback: Function2[ErrnoException | Null, Array[LookupAddress], Unit]): Unit
@inline
def lookup(hostname: String, options: LookupOneOptions, callback: Function3[ErrnoException | Null, String, Double, Unit]): Unit
@inline
def lookup(hostname: String, options: LookupOptions, callback: Function3[ErrnoException | Null, String | Array[LookupAddress], Double, Unit]): Unit
@inline
def lookupService(address: String, port: Double, callback: Function3[ErrnoException | Null, String, String, Unit]): Unit
@inline
def resolve(hostname: String, callback: Function2[ErrnoException | Null, Array[String], Unit]): Unit
@inline
def resolve(hostname: String, rrtype: AAAA, callback: Function2[ErrnoException | Null, Array[String], Unit]): Unit
@inline
def resolve(hostname: String, rrtype: ANY, callback: Function2[ErrnoException | Null, Array[AnyRecord], Unit]): Unit
@inline
def resolve(hostname: String, rrtype: A, callback: Function2[ErrnoException | Null, Array[String], Unit]): Unit
@inline
def resolve(hostname: String, rrtype: CNAME, callback: Function2[ErrnoException | Null, Array[String], Unit]): Unit
@inline
def resolve(hostname: String, rrtype: MX, callback: Function2[ErrnoException | Null, Array[MxRecord], Unit]): Unit
@inline
def resolve(hostname: String, rrtype: NAPTR, callback: Function2[ErrnoException | Null, Array[NaptrRecord], Unit]): Unit
@inline
def resolve(hostname: String, rrtype: NS, callback: Function2[ErrnoException | Null, Array[String], Unit]): Unit
@inline
def resolve(hostname: String, rrtype: PTR, callback: Function2[ErrnoException | Null, Array[String], Unit]): Unit
@inline
def resolve(hostname: String, rrtype: SOA, callback: Function2[ErrnoException | Null, SoaRecord, Unit]): Unit
@inline
def resolve(hostname: String, rrtype: SRV, callback: Function2[ErrnoException | Null, Array[SrvRecord], Unit]): Unit
@inline
def resolve(hostname: String, rrtype: TXT, callback: Function2[ErrnoException | Null, Array[Array[String]], Unit]): Unit
@inline
def resolve(hostname: String, rrtype: String, callback: Function2[ErrnoException | Null, Array[AnyRecord | Array[String] | MxRecord | NaptrRecord | SrvRecord | String] | SoaRecord, Unit]): Unit
@inline
def resolve4(hostname: String, callback: Function2[ErrnoException | Null, Array[String], Unit]): Unit
@inline
def resolve4(hostname: String, options: ResolveOptions, callback: Function2[ErrnoException | Null, Array[RecordWithTtl | String], Unit]): Unit
@inline
def resolve4(hostname: String, options: ResolveWithTtlOptions, callback: Function2[ErrnoException | Null, Array[RecordWithTtl], Unit]): Unit
@inline
def resolve6(hostname: String, callback: Function2[ErrnoException | Null, Array[String], Unit]): Unit
@inline
def resolve6(hostname: String, options: ResolveOptions, callback: Function2[ErrnoException | Null, Array[RecordWithTtl | String], Unit]): Unit
@inline
def resolve6(hostname: String, options: ResolveWithTtlOptions, callback: Function2[ErrnoException | Null, Array[RecordWithTtl], Unit]): Unit
@inline
def resolveAny(hostname: String, callback: Function2[ErrnoException | Null, Array[AnyRecord], Unit]): Unit
@inline
def resolveCaa(hostname: String, callback: Function2[ErrnoException | Null, Array[CaaRecord], Unit]): Unit
@inline
def resolveCname(hostname: String, callback: Function2[ErrnoException | Null, Array[String], Unit]): Unit
@inline
def resolveMx(hostname: String, callback: Function2[ErrnoException | Null, Array[MxRecord], Unit]): Unit
@inline
def resolveNaptr(hostname: String, callback: Function2[ErrnoException | Null, Array[NaptrRecord], Unit]): Unit
@inline
def resolveNs(hostname: String, callback: Function2[ErrnoException | Null, Array[String], Unit]): Unit
@inline
def resolvePtr(hostname: String, callback: Function2[ErrnoException | Null, Array[String], Unit]): Unit
@inline
def resolveSoa(hostname: String, callback: Function2[ErrnoException | Null, SoaRecord, Unit]): Unit
@inline
def resolveSrv(hostname: String, callback: Function2[ErrnoException | Null, Array[SrvRecord], Unit]): Unit
@inline
def resolveTxt(hostname: String, callback: Function2[ErrnoException | Null, Array[Array[String]], Unit]): Unit
@inline
def reverse(ip: String, callback: Function2[ErrnoException | Null, Array[String], Unit]): Unit
@inline
def setServers(servers: Array[String]): Unit

Concrete fields

@JSImport("node:dns", "ADDRCONFIG") @native
val ADDRCONFIG: Double
@JSImport("node:dns", "ADDRGETNETWORKPARAMS") @native
@JSImport("node:dns", "ALL") @native
val ALL: Double
@JSImport("node:dns", "BADFAMILY") @native
val BADFAMILY: String
@JSImport("node:dns", "BADFLAGS") @native
val BADFLAGS: String
@JSImport("node:dns", "BADHINTS") @native
val BADHINTS: String
@JSImport("node:dns", "BADNAME") @native
val BADNAME: String
@JSImport("node:dns", "BADQUERY") @native
val BADQUERY: String
@JSImport("node:dns", "BADRESP") @native
val BADRESP: String
@JSImport("node:dns", "BADSTR") @native
val BADSTR: String
@JSImport("node:dns", "CANCELLED") @native
val CANCELLED: String
@JSImport("node:dns", "CONNREFUSED") @native
val CONNREFUSED: String
@JSImport("node:dns", "DESTRUCTION") @native
val DESTRUCTION: String
@JSImport("node:dns", "EOF") @native
val EOF: String
@JSImport("node:dns", "FILE") @native
val FILE: String
@JSImport("node:dns", "FORMERR") @native
val FORMERR: String
@JSImport("node:dns", "LOADIPHLPAPI") @native
val LOADIPHLPAPI: String
@JSImport("node:dns", "NODATA") @native
val NODATA: String
@JSImport("node:dns", "NOMEM") @native
val NOMEM: String
@JSImport("node:dns", "NONAME") @native
val NONAME: String
@JSImport("node:dns", "NOTFOUND") @native
val NOTFOUND: String
@JSImport("node:dns", "NOTIMP") @native
val NOTIMP: String
@JSImport("node:dns", "NOTINITIALIZED") @native
val NOTINITIALIZED: String
@JSImport("node:dns", "REFUSED") @native
val REFUSED: String
@JSImport("node:dns", "SERVFAIL") @native
val SERVFAIL: String
@JSImport("node:dns", "TIMEOUT") @native
val TIMEOUT: String
@JSImport("node:dns", "V4MAPPED") @native
val V4MAPPED: Double
@JSImport("node:dns") @native
val ^: Any