package dns
dns package object
- Alphabetic
- By Inheritance
- dns
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
trait
DNS
extends Object
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()
- Version
7.4.0
- See also
https://nodejs.org/api/dns.html
-
implicit final
class
DNSExtensions
extends AnyVal
DNS Extensions
-
class
DnsError
extends Error
Represents a DNS Error
Represents a DNS Error
- Annotations
- @RawJSType() @native()
-
class
DnsOptions
extends Object
DNS Options
DNS Options
- Annotations
- @RawJSType() @ScalaJSDefined()
-
trait
MX
extends Object
Represents an MX record.
Represents an MX record.
{ exchange: 'bing-com.mail.protection.outlook.com', priority: 10 }
- Annotations
- @RawJSType() @native()
-
trait
NAPTR
extends Object
Represents a DNS NAPTR record.
Represents a DNS NAPTR record.
{ flags: "s", service: "SIP+D2U", regexp: "", replacement: "_sip._udp.example.com", order: 30, preference: 100 }
- Annotations
- @RawJSType() @native()
- type RRType = String
-
trait
SOA
extends Object
Represents a DNS SOA record.
Represents a DNS SOA record.
{ nsname: 'ns.example.com', hostmaster: 'root.example.com', serial: 2013101809, refresh: 10000, retry: 2400, expire: 604800, minttl: 3600 }
- Annotations
- @RawJSType() @native()
-
trait
SRV
extends Object
Represents a DNS SRV record.
Represents a DNS SRV record.
{ priority: 10, weight: 5, port: 21223, name: 'service.example.com' }
- 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 )