Packages

package dns

dns package object

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. dns
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. 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

  2. implicit final class DNSExtensions extends AnyVal

    DNS Extensions

  3. class DnsError extends Error

    Represents a DNS Error

    Represents a DNS Error

    Annotations
    @RawJSType() @native()
  4. class DnsOptions extends Object

    DNS Options

    DNS Options

    Annotations
    @RawJSType() @ScalaJSDefined()
  5. trait MX extends Object

    Represents an MX record.

    Represents an MX record.

    {
    exchange: 'bing-com.mail.protection.outlook.com',
    priority: 10
    }
    

    Annotations
    @RawJSType() @native()
  6. 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()
  7. type RRType = String
  8. 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()
  9. 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

  1. val RRTYPE_A: RRType
  2. val RRTYPE_AAAA: RRType
  3. val RRTYPE_CNAME: RRType
  4. val RRTYPE_MX: RRType
  5. val RRTYPE_NAPTR: RRType
  6. val RRTYPE_NS: RRType
  7. val RRTYPE_PTR: RRType
  8. val RRTYPE_SOA: RRType
  9. val RRTYPE_SRV: RRType
  10. val RRTYPE_TXT: RRType
  11. object DNS extends Object with DNS

    DNS Singleton

    DNS Singleton

    Annotations
    @native() @JSImport( "dns" , JSImport.Namespace )

Inherited from AnyRef

Inherited from Any

Ungrouped