package dns
dns package object
- Alphabetic
- By Inheritance
- dns
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- trait AddressTtl extends Object with ResolveObject
- Annotations
- @JSType() @native()
- trait DNS extends Object with IResolver
The dns module contains functions belonging to two different categories: 1) Functions that use the underlying operating system facilities to perform name resolution, and that do not necessarily perform any network communication.
The dns module contains functions belonging to two different categories: 1) Functions that use the underlying operating system facilities to perform name resolution, and that do not necessarily perform any network communication. This category contains only one function: dns.lookup(). Developers looking to perform name resolution in the same way that other applications on the same operating system behave should use dns.lookup().
- Annotations
- @JSType() @native()
- See also
https://nodejs.org/api/dns.html
- implicit final class DNSExtensions extends AnyVal
DNS Extensions
- type DnsCallback1[A] = Function2[DnsError, A, Any]
- type DnsCallback2[A, B] = Function3[DnsError, A, B, Any]
- type DnsError = SystemError
- trait DnsOptions extends Object
- Annotations
- @JSType()
- trait IResolver extends Object
- Annotations
- @JSType() @native()
- trait MX extends Object with ResolveObject
- Annotations
- @JSType() @native()
- trait NAPTR extends Object with ResolveObject
- Annotations
- @JSType() @native()
- class PromisesResolver extends Object
- Annotations
- @JSType() @native() @JSImport("dns", "promises.Resolver")
- type RRType = String
- sealed trait ResolveObject extends Object
- Annotations
- @JSType() @native()
- type ResolveResult = |[Array[|[String, ResolveObject]], SOA]
- class Resolver extends Object with IResolver
- Annotations
- @JSType() @native() @JSImport("dns", "Resolver")
- trait SOA extends Object with ResolveObject
- Annotations
- @JSType() @native()
- trait SRV extends Object with ResolveObject
- Annotations
- @JSType() @native()
- trait TXT extends Object with ResolveObject
- Annotations
- @JSType() @native()
- trait TtlOptions extends Object
- Annotations
- @JSType()
- trait ValueOnly extends Object with ResolveObject
- Annotations
- @JSType() @native()
Value Members
- final val RRTYPE_A: RRType
- final val RRTYPE_AAAA: RRType
- final val RRTYPE_CNAME: RRType
- final val RRTYPE_MX: RRType
- final val RRTYPE_NAPTR: RRType
- final val RRTYPE_NS: RRType
- final val RRTYPE_PTR: RRType
- final val RRTYPE_SOA: RRType
- final val RRTYPE_SRV: RRType
- final val RRTYPE_TXT: RRType
- object DNS extends Object with DNS
DNS Singleton
DNS Singleton
- Annotations
- @native() @JSImport("dns", JSImport.Namespace)
- object DnsOptions
- object TtlOptions