package dns
dns package object
- Alphabetic
- By Inheritance
- dns
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
trait
AddressTtl extends Object with ResolveObject
- Annotations
- @RawJSType() @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
- @RawJSType() @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
-
class
DnsOptions extends Object
- Annotations
- @ScalaJSDefined() @RawJSType()
-
trait
IResolver extends Object
- Annotations
- @RawJSType() @native()
-
trait
MX extends Object with ResolveObject
- Annotations
- @RawJSType() @native()
-
trait
NAPTR extends Object with ResolveObject
- Annotations
- @RawJSType() @native()
-
class
PromisesResolver extends Object
- Annotations
- @RawJSType() @native() @JSImport( "dns" , "promises.Resolver" )
- type RRType = String
-
sealed
trait
ResolveObject extends Object
- Annotations
- @RawJSType() @native()
- type ResolveResult = |[Array[|[String, ResolveObject]], SOA]
-
class
Resolver extends Object with IResolver
- Annotations
- @RawJSType() @native() @JSImport( "dns" , "Resolver" )
-
trait
SOA extends Object with ResolveObject
- Annotations
- @RawJSType() @native()
-
trait
SRV extends Object with ResolveObject
- Annotations
- @RawJSType() @native()
-
trait
TXT extends Object with ResolveObject
- Annotations
- @RawJSType() @native()
-
class
TtlOptions extends Object
- Annotations
- @ScalaJSDefined() @RawJSType()
-
trait
ValueOnly extends Object with ResolveObject
- Annotations
- @RawJSType() @native()
Value Members
- val RRTYPE_A: RRType
- val RRTYPE_AAAA: RRType
- val RRTYPE_CNAME: RRType
- val RRTYPE_MX: RRType
- val RRTYPE_NAPTR: RRType
- val RRTYPE_NS: RRType
- val RRTYPE_PTR: RRType
- val RRTYPE_SOA: RRType
- val RRTYPE_SRV: RRType
- val RRTYPE_TXT: RRType
-
object
DNS extends Object with DNS
DNS Singleton
DNS Singleton
- Annotations
- @native() @JSImport( "dns" , JSImport.Namespace )